Salome HOME
Do not remove Mesh on geometry change according to request #3134
[modules/smesh.git] / src / SMESH_I / SMESH_Gen_i.cxx
index 5e4bba536096ae18e05d66867cc03b59ae236f84..f5c36db7877995e66933b320912ae4ade5394068 100644 (file)
@@ -2021,6 +2021,8 @@ CORBA::Boolean SMESH_Gen_i::Compute( SMESH::SMESH_Mesh_ptr theMesh,
     if ( meshServant ) {
       meshServant->Load();
       // NPAL16168: "geometrical group edition from a submesh don't modify mesh computation"
+      // Clear meshy because it was not cleared in CheckGeomModif of previous call
+      meshServant->Clear();
       meshServant->CheckGeomModif();
       // get local TopoDS_Shape
       TopoDS_Shape myLocShape;