Commit 02611dd8 authored by Mike Kremer's avatar Mike Kremer

Added updatedObject instead of directly calling the node's update routines.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@13920 383ad7c9-94d9-4d36-a494-682f7c89f535
parent dbd56bd4
......@@ -331,9 +331,9 @@ void TypeHexahedralMeshPlugin::setTranslucencyFactor() {
0.0, 1.0, 2, &ok);
hexMeshObject->meshNode()->set_translucency_factor((float)factor);
hexMeshObject->meshNode()->set_geometry_changed(true);
emit updateView();
if(hexMeshObject->meshNode()->translucent()) {
emit updatedObject(objectId, UPDATE_GEOMETRY);
}
}
}
......
......@@ -75,7 +75,7 @@ signals:
void addContextMenuItem(QAction* /*_action*/, DataType /*_objectType*/, ContextMenuType /*_type*/);
// BaseInterface
void updateView();
void updatedObject(int _objId, UpdateType _type);
private slots:
......
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