Commit 1a997061 authored by Isaak Lim's avatar Isaak Lim

- now the decimater objects are cleared before an undo happens

closes #1026

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@15609 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 1b84b1e1
......@@ -769,6 +769,13 @@ void DecimaterPlugin::objectDeleted(int _id)
//-----------------------------------------------------------------------------
void DecimaterPlugin::slotAboutToRestore(int _id)
{
decimater_objects_.clear();
}
//-----------------------------------------------------------------------------
void DecimaterPlugin::slotObjectUpdated(int /*_identifier*/ , const UpdateType& _type )
{
if ( _type.contains(UPDATE_TOPOLOGY) ) {
......
......@@ -133,6 +133,8 @@ private slots:
void objectDeleted(int _id); //LoadSaveInterface
void slotAboutToRestore(int _id); //BackupInterface
public :
/// Default constructor
......
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