Salome HOME
fix PAL15161 (Mesh to pass through a point - preview works wrong for the submesh...
authoreap <eap@opencascade.com>
Tue, 6 Mar 2007 10:39:22 +0000 (10:39 +0000)
committereap <eap@opencascade.com>
Tue, 6 Mar 2007 10:39:22 +0000 (10:39 +0000)
      enable "Update" at "Display" and "DisplayOnly" independently of automaticUpdate()

src/SMESHGUI/SMESHGUI.cxx

index c2555ec0e524a027d980a082ce8c3c4e23fbae10..47ab6aae7bb952130988094e399ab3d92d8ec231 100644 (file)
@@ -1243,10 +1243,10 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
        }
       }
 
-      // PAL13338 -->
-      if ( ( theCommandID==301 || theCommandID==302 ) && !checkLock(aStudy) && !automaticUpdate() )
+      // PAL13338 + PAL15161 -->
+      if ( ( theCommandID==301 || theCommandID==302 ) && !checkLock(aStudy) /*&& !automaticUpdate()*/ )
        SMESH::UpdateView();
-      // PAL13338 <--
+      // PAL13338 + PAL15161 <--
 
       if (anAction == SMESH::eErase) {
        SALOME_ListIO l1;