Commit 37421027 authored by Mike Kremer's avatar Mike Kremer

Using the new UpdateType specs for updatedObject.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@8704 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 178ac0b0
...@@ -172,7 +172,7 @@ slot_smooth() ...@@ -172,7 +172,7 @@ slot_smooth()
if (mesh != 0) if (mesh != 0)
mesh->garbage_collection(); mesh->garbage_collection();
emit updatedObject( o_it->id() ); emit updatedObject( o_it->id(), UPDATE_GEOMETRY );
} }
if ( !found ) if ( !found )
...@@ -252,7 +252,7 @@ void SmootherPlugin::smooth(int _objectId , int _iterations , QString _direction ...@@ -252,7 +252,7 @@ void SmootherPlugin::smooth(int _objectId , int _iterations , QString _direction
mesh->update_normals(); mesh->update_normals();
} }
emit updatedObject( object->id() ); emit updatedObject( object->id(), UPDATE_GEOMETRY );
} else { } else {
......
...@@ -87,7 +87,7 @@ signals: ...@@ -87,7 +87,7 @@ signals:
// BaseInterface // BaseInterface
void updateView(); void updateView();
void updatedObject(int); void updatedObject(int, const UpdateType);
void setSlotDescription(QString _slotName, QString _slotDescription, void setSlotDescription(QString _slotName, QString _slotDescription,
QStringList _parameters, QStringList _descriptions); QStringList _parameters, QStringList _descriptions);
......
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