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 09:01:06 +0000 (09:01 +0000)
committermkr <mkr@opencascade.com>
Mon, 25 Sep 2006 09:01:06 +0000 (09:01 +0000)
src/SMESHGUI/SMESHGUI.cxx

index 8fb5c12c2f0bce6b1c1146a0864a051fc63a5d81..22cd34e01044c533c51fdce7a1030ee4eab4f593 100644 (file)
@@ -1217,6 +1217,11 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
          }
        }
       }
+      
+      // PAL13338 -->
+      if ( ( theCommandID==301 || theCommandID==302 ) && !checkLock(aStudy) ) 
+       SMESH::UpdateView();
+      // PAL13338 <--
 
       if (anAction == SMESH::eErase) {
        SALOME_ListIO l1;
@@ -1224,6 +1229,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
       }
       else
        aSel->setSelectedObjects( to_process );
+
       break;
     }