Commit 6e4735f3 authored by Dirk Wilden's avatar Dirk Wilden

createBackup

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@11278 383ad7c9-94d9-4d36-a494-682f7c89f535
parent d91e14dd
...@@ -160,10 +160,10 @@ void SubdividerPlugin::subdivide(int _objectId, QString _algorithm , int _steps) ...@@ -160,10 +160,10 @@ void SubdividerPlugin::subdivide(int _objectId, QString _algorithm , int _steps)
tmo->update(); tmo->update();
// Create backup // Create backup
emit createBackup(object->id(), "Subdivider"); emit createBackup(object->id(), "Subdivider", UPDATE_TOPOLOGY);
// Geometry and topology changed! // Geometry and topology changed!
emit updatedObject(object->id(), UPDATE_ALL); emit updatedObject(object->id(), UPDATE_TOPOLOGY);
} }
......
...@@ -86,7 +86,7 @@ signals: ...@@ -86,7 +86,7 @@ signals:
void addToolbox( QString _name , QWidget* _widget, QIcon* _icon ); void addToolbox( QString _name , QWidget* _widget, QIcon* _icon );
// BackupInterface // BackupInterface
void createBackup( int _id , QString _name ); void createBackup( int _id , QString _name, UpdateType _type = UPDATE_ALL );
// ScriptInterface // ScriptInterface
void setSlotDescription(QString _slotName, QString _slotDescription, void setSlotDescription(QString _slotName, QString _slotDescription,
......
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