From 9266dd32f067a7d48cb95e3b833a7fba2d6361e6 Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 3 Apr 2009 14:11:19 +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; + _shapeDiagonal = 0.0; + _myMeshDS->ShapeToMesh( PseudoShape() ); + } --- src/SMESH/SMESH_Mesh.cxx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/SMESH/SMESH_Mesh.cxx b/src/SMESH/SMESH_Mesh.cxx index 695027dba..b1cdde266 100644 --- a/src/SMESH/SMESH_Mesh.cxx +++ b/src/SMESH/SMESH_Mesh.cxx @@ -177,6 +177,12 @@ void SMESH_Mesh::ShapeToMesh(const TopoDS_Shape & aShape) (TopAbs_ShapeEnum) ancType, _mapAncestors ); } + else + { + _isShapeToMesh = false; + _shapeDiagonal = 0.0; + _myMeshDS->ShapeToMesh( PseudoShape() ); + } } //=======================================================================