Commit 8a958b76 authored by Jan Möbius's avatar Jan Möbius
Browse files

Use drawmodeSettingActions overrride

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 836c1ea4
......@@ -596,8 +596,8 @@ void ViewControlPlugin::slotDrawModeSelected( QAction * _action) {
BaseObjectData* object = 0;
PluginFunctions::getObject( lastObjectId_, object );
// Set draw Modes for this object
ACG::SceneGraph::SetDrawModesAction actionActive( activeDrawModes_ );
// Set draw Modes for this object ( force it when we do not set the global draw mode, to override global draw mode and force the modes on the nodes )
ACG::SceneGraph::SetDrawModesAction actionActive( activeDrawModes_ , _action->text() != USEGLOBALDRAWMODE );
if ( object )
ACG::SceneGraph::traverse( object->primaryNode() , actionActive);
Supports Markdown
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