]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Show/Hide trihedron functionality
authorvsv <vsv@opencascade.com>
Mon, 20 Jun 2005 12:04:51 +0000 (12:04 +0000)
committervsv <vsv@opencascade.com>
Mon, 20 Jun 2005 12:04:51 +0000 (12:04 +0000)
src/OCCViewer/OCCViewer_ViewModel.cxx

index 407de60139d39bcda6a05acb1181d667af12d61d..5c03a236ff346bd68ba6e64b88b39aace2bae6d3 100755 (executable)
@@ -407,9 +407,9 @@ void OCCViewer_Viewer::setTrihedronShown( const bool on )
     return;
 
   if ( on )
-    myAISContext->Erase( myTrihedron );
-  else
     myAISContext->Display( myTrihedron );
+  else
+    myAISContext->Erase( myTrihedron );
 }
 
 int OCCViewer_Viewer::trihedronSize() const