Commit 0e4ef316 authored by Dirk Wilden's avatar Dirk Wilden

createBackup

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@11280 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 3017eaaf
......@@ -181,7 +181,7 @@ void SmootherPlugin::simpleLaplace(int _iterations) {
emit updatedObject( o_it->id(), UPDATE_GEOMETRY );
// Create backup
emit createBackup(o_it->id(), "Simple Smoothing");
emit createBackup(o_it->id(), "Simple Smoothing", UPDATE_GEOMETRY );
} else if ( o_it->dataType( DATA_POLY_MESH ) ) {
......@@ -250,7 +250,7 @@ void SmootherPlugin::simpleLaplace(int _iterations) {
emit updatedObject( o_it->id() , UPDATE_GEOMETRY);
// Create backup
emit createBackup(o_it->id(), "Simple Smoothing");
emit createBackup(o_it->id(), "Simple Smoothing", UPDATE_GEOMETRY);
} else {
......
......@@ -80,7 +80,7 @@ class SmootherPlugin : public QObject, BaseInterface, ToolboxInterface, LoggingI
void scriptInfo(QString _functionName);
// BackupInterface
void createBackup( int _id , QString _name );
void createBackup( int _id , QString _name, UpdateType _type = UPDATE_ALL );
public:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment