From: eap Date: Fri, 3 Apr 2009 14:19:54 +0000 (+0000) Subject: 0020210: EDF SMESH 976: Update of a smesh group after modification of the associated... X-Git-Tag: V4_1_5rc1~12 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e052fc74833246dd659c14b8dc637d1fd8c99255;p=modules%2Fsmesh.git 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() ); + } --- 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() ); + } } //=======================================================================