Commit 2df8f727 authored by Jan Möbius's avatar Jan Möbius
Browse files

Added missing object updated for simple smoother


git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@2523 383ad7c9-94d9-4d36-a494-682f7c89f535
parent b66fcb2b
...@@ -130,6 +130,8 @@ void SmootherPlugin::simpleLaplace() { ...@@ -130,6 +130,8 @@ void SmootherPlugin::simpleLaplace() {
mesh->remove_property( orig_pos_); mesh->remove_property( orig_pos_);
mesh->update_normals(); mesh->update_normals();
emit updated_objects( o_it->id() );
} }
for ( PluginFunctions::ObjectIterator o_it(PluginFunctions::TARGET_OBJECTS,DATA_POLY_MESH) ; for ( PluginFunctions::ObjectIterator o_it(PluginFunctions::TARGET_OBJECTS,DATA_POLY_MESH) ;
...@@ -186,6 +188,8 @@ void SmootherPlugin::simpleLaplace() { ...@@ -186,6 +188,8 @@ void SmootherPlugin::simpleLaplace() {
mesh->remove_property( orig_pos_); mesh->remove_property( orig_pos_);
mesh->update_normals(); mesh->update_normals();
emit updated_objects( o_it->id() );
} }
emit update_view(); emit update_view();
......
...@@ -52,6 +52,7 @@ class SmootherPlugin : public QObject, BaseInterface, ToolboxInterface ...@@ -52,6 +52,7 @@ class SmootherPlugin : public QObject, BaseInterface, ToolboxInterface
signals: signals:
void update_view(); void update_view();
void updated_objects(int);
public : 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