From: mzn Date: Thu, 6 Apr 2006 10:40:41 +0000 (+0000) Subject: Fix for bug IPAL12063. X-Git-Tag: T3_2_0b1_pre1~47 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9412871c47ab2fcb623015e6219868dc37810cbb;p=modules%2Fsmesh.git Fix for bug IPAL12063. --- diff --git a/src/SMESHGUI/SMESHGUI.cxx b/src/SMESHGUI/SMESHGUI.cxx index aeb1f53d1..0a6608985 100644 --- a/src/SMESHGUI/SMESHGUI.cxx +++ b/src/SMESHGUI/SMESHGUI.cxx @@ -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);