Commit b89b897f authored by Jan Möbius's avatar Jan Möbius

Set DrawMode only for active examiner

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@5226 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 472f6458
......@@ -569,7 +569,7 @@ void ViewControlPlugin::slotDrawModeSelected( QAction * _action) {
if ( object )
ACG::SceneGraph::traverse( object->baseNode() , actionActive);
else
PluginFunctions::setDrawMode( activeDrawModes_ );
PluginFunctions::setDrawMode( activeDrawModes_ , PluginFunctions::activeExaminer() );
emit updateView();
}
......@@ -881,7 +881,7 @@ void ViewControlPlugin::translate( Vector _vec , int _viewer) {
void ViewControlPlugin::enableBackfaceCulling( bool _state , int _viewer ) {
if ( _viewer == PluginFunctions::ALL_VIEWERS )
for ( uint i = 0 ; i < PluginFunctions::viewers( ); ++i )
for ( int i = 0 ; i < PluginFunctions::viewers( ); ++i )
PluginFunctions::viewerProperties(i).backFaceCulling(_state);
else if ( _viewer == PluginFunctions::ACTIVE_VIEWER )
PluginFunctions::viewerProperties(PluginFunctions::activeExaminer()).backFaceCulling(_state);
......
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