From: abd Date: Tue, 22 Nov 2005 14:21:48 +0000 (+0000) Subject: Fixed unused flag in deleteObject method X-Git-Tag: BR_3_1_0_deb~54 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c0178b0aa379133b84daab5a05965ac2f71dac07;p=modules%2Fgui.git Fixed unused flag in deleteObject method --- diff --git a/src/GLViewer/GLViewer_Context.cxx b/src/GLViewer/GLViewer_Context.cxx index ef4f57850..7fc5fcf20 100644 --- a/src/GLViewer/GLViewer_Context.cxx +++ b/src/GLViewer/GLViewer_Context.cxx @@ -679,7 +679,8 @@ void GLViewer_Context::deleteObject( GLViewer_Object* theObject, bool updateView if( myLastPicked == theObject ) myLastPicked = 0; - myGLViewer2d->updateAll(); + if ( updateViewer ) + myGLViewer2d->updateAll(); } //=======================================================================