Salome HOME
Fix for bug PAL13338 : EDF PAL266 SMESH: no mesh update via Display Only after editin...
authormkr <mkr@opencascade.com>
Mon, 25 Sep 2006 11:09:26 +0000 (11:09 +0000)
committermkr <mkr@opencascade.com>
Mon, 25 Sep 2006 11:09:26 +0000 (11:09 +0000)
src/SMESHGUI/SMESHGUI.cxx

index 22cd34e01044c533c51fdce7a1030ee4eab4f593..62bd5bf421942eb5053d78381ccab10465afed55 100644 (file)
@@ -1219,7 +1219,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
       }
       
       // PAL13338 -->
-      if ( ( theCommandID==301 || theCommandID==302 ) && !checkLock(aStudy) ) 
+      if ( ( theCommandID==301 || theCommandID==302 ) && !checkLock(aStudy) && !automaticUpdate() 
        SMESH::UpdateView();
       // PAL13338 <--