From 9412871c47ab2fcb623015e6219868dc37810cbb Mon Sep 17 00:00:00 2001 From: mzn Date: Thu, 6 Apr 2006 10:40:41 +0000 Subject: [PATCH] Fix for bug IPAL12063. --- src/SMESHGUI/SMESHGUI.cxx | 4 ++++ 1 file changed, 4 insertions(+) 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); -- 2.39.2