]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Additional fix for bug PAL13107 ( EDF248 - GEOM - UpdateViewer on python functions ).
authormzn <mzn@opencascade.com>
Thu, 3 Aug 2006 10:45:26 +0000 (10:45 +0000)
committermzn <mzn@opencascade.com>
Thu, 3 Aug 2006 10:45:26 +0000 (10:45 +0000)
src/OCCViewer/OCCViewer_ViewModel.cxx

index b3577414d9fff61336e64f06b25568567b75980c..c4917d7b06f6e07633b725107488a35e865e19de 100755 (executable)
@@ -517,7 +517,7 @@ void OCCViewer_Viewer::setColor( const Handle(AIS_InteractiveObject)& obj,
 void OCCViewer_Viewer::switchRepresentation( const Handle(AIS_InteractiveObject)& obj,
                                              int mode, bool update )
 {
-  myAISContext->SetDisplayMode( obj, (Standard_Integer)mode, true );
+  myAISContext->SetDisplayMode( obj, (Standard_Integer)mode, update );
   if( update )
     myV3dViewer->Update();
 }