diff --git a/SmootherPlugin.cc b/SmootherPlugin.cc index 6605f7f1f00687c534f9ccadf40d4ba476b6a613..c642073922fabe18ce951a6c0f5c02f35b142118 100644 --- a/SmootherPlugin.cc +++ b/SmootherPlugin.cc @@ -130,6 +130,8 @@ void SmootherPlugin::simpleLaplace() { mesh->remove_property( orig_pos_); mesh->update_normals(); + + emit updated_objects( o_it->id() ); } for ( PluginFunctions::ObjectIterator o_it(PluginFunctions::TARGET_OBJECTS,DATA_POLY_MESH) ; @@ -186,6 +188,8 @@ void SmootherPlugin::simpleLaplace() { mesh->remove_property( orig_pos_); mesh->update_normals(); + + emit updated_objects( o_it->id() ); } emit update_view(); diff --git a/SmootherPlugin.hh b/SmootherPlugin.hh index b66c0ea52f96e9021ef7bcb5007623b7360b13e7..24810d7edeff3df580f53b81da98bed43d703311 100644 --- a/SmootherPlugin.hh +++ b/SmootherPlugin.hh @@ -52,6 +52,7 @@ class SmootherPlugin : public QObject, BaseInterface, ToolboxInterface signals: void update_view(); + void updated_objects(int); public :