]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix for bug IPAL12063.
authormzn <mzn@opencascade.com>
Thu, 6 Apr 2006 10:40:41 +0000 (10:40 +0000)
committermzn <mzn@opencascade.com>
Thu, 6 Apr 2006 10:40:41 +0000 (10:40 +0000)
src/SMESHGUI/SMESHGUI.cxx

index aeb1f53d1970283a48b3e5faf08004a6ae46eeed..0a6608985c7663d779d92745d6349247838decc6 100644 (file)
@@ -781,6 +781,10 @@ namespace{
          else if ( !aSubMesh->_is_nil() ) {                   // DELETE SUBMESH
            SMESH::SMESH_Mesh_var aMesh = aSubMesh->GetFather();
            aMesh->RemoveSubMesh( aSubMesh );
+           
+           _PTR(SObject) aMeshSO = SMESH::FindSObject(aMesh);
+           if (aMeshSO)
+              SMESH::ModifiedMesh(aMeshSO, false);
          }
          else if ( objType == "Hypothesis" || objType == "Algorithm" ) {// DELETE HYPOTHESIS
             SMESH::RemoveHypothesisOrAlgorithmOnMesh(IObject);