]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
*** empty log message ***
authorvsv <vsv@opencascade.com>
Wed, 15 Sep 2010 07:46:41 +0000 (07:46 +0000)
committervsv <vsv@opencascade.com>
Wed, 15 Sep 2010 07:46:41 +0000 (07:46 +0000)
src/OCCViewer/OCCViewer_ViewWindow.cxx

index cac12ffef02d7a777453851b7aa737d4a6a7a8bb..fd566cb15877c4e657d54d538a533f4971d2e2ab 100755 (executable)
@@ -1208,8 +1208,10 @@ void OCCViewer_ViewWindow::createToolBar()
     toolMgr()->append( toolMgr()->separator(), tid );
     toolMgr()->append( ClippingId, tid );
     toolMgr()->append( AxialScaleId, tid );
+    toolMgr()->append( AmbientId, tid );
+  } else {
+    toolMgr()->append( AxialScaleId, tid );
   }
-  toolMgr()->append( AmbientId, tid );
   toolMgr()->append( MaximizedId,  tid);
 }