From: vsv Date: Mon, 20 Jun 2005 12:04:51 +0000 (+0000) Subject: Show/Hide trihedron functionality X-Git-Tag: T3_0_0_a4~71 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f9bfa6ebd9934e0efa82bcfde3435019ad458a72;p=modules%2Fgui.git Show/Hide trihedron functionality --- diff --git a/src/OCCViewer/OCCViewer_ViewModel.cxx b/src/OCCViewer/OCCViewer_ViewModel.cxx index 407de6013..5c03a236f 100755 --- a/src/OCCViewer/OCCViewer_ViewModel.cxx +++ b/src/OCCViewer/OCCViewer_ViewModel.cxx @@ -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