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

index 00ee8acca6d168572fdd2f085319eae976bfe582..cac12ffef02d7a777453851b7aa737d4a6a7a8bb 100755 (executable)
@@ -1168,7 +1168,7 @@ void OCCViewer_ViewWindow::createToolBar()
 
   toolMgr()->append( DumpId, tid );
   toolMgr()->append( SwitchInteractionStyleId, tid );
-  if( myModel->trihedronActivated() 
+  if( myModel->trihedronActivated() && (my2dMode == No2dMode) )
     toolMgr()->append( TrihedronShowId, tid );
 
   QtxMultiAction* aScaleAction = new QtxMultiAction( this );