From e052fc74833246dd659c14b8dc637d1fd8c99255 Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 3 Apr 2009 14:19:54 +0000 Subject: [PATCH] 0020210: EDF SMESH 976: Update of a smesh group after modification of the associated geom group void SMESH_Mesh::ShapeToMesh(const TopoDS_Shape & aShape) { ... + else + { + _isShapeToMesh = false; + _myMeshDS->ShapeToMesh( PseudoShape() ); + } --- src/SMESH/SMESH_Mesh.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/SMESH/SMESH_Mesh.cxx b/src/SMESH/SMESH_Mesh.cxx index ce4f8fa57..b751f3ae8 100644 --- a/src/SMESH/SMESH_Mesh.cxx +++ b/src/SMESH/SMESH_Mesh.cxx @@ -175,6 +175,11 @@ void SMESH_Mesh::ShapeToMesh(const TopoDS_Shape & aShape) (TopAbs_ShapeEnum) ancType, _mapAncestors ); } + else + { + _isShapeToMesh = false; + _myMeshDS->ShapeToMesh( PseudoShape() ); + } } //======================================================================= -- 2.39.2