]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fixed unused flag in deleteObject method
authorabd <abd@opencascade.com>
Tue, 22 Nov 2005 14:21:48 +0000 (14:21 +0000)
committerabd <abd@opencascade.com>
Tue, 22 Nov 2005 14:21:48 +0000 (14:21 +0000)
src/GLViewer/GLViewer_Context.cxx

index ef4f57850299710f0d128c91ce8fe344b349b352..7fc5fcf2068da08c15e09856fbd24afdb8e9481c 100644 (file)
@@ -679,7 +679,8 @@ void GLViewer_Context::deleteObject( GLViewer_Object* theObject, bool updateView
     if( myLastPicked == theObject )
         myLastPicked = 0;
 
-    myGLViewer2d->updateAll();
+    if ( updateViewer )
+      myGLViewer2d->updateAll();
 }
 
 //=======================================================================