]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0020210: EDF SMESH 976: Update of a smesh group after modification of the associated...
authoreap <eap@opencascade.com>
Fri, 3 Apr 2009 14:19:54 +0000 (14:19 +0000)
committereap <eap@opencascade.com>
Fri, 3 Apr 2009 14:19:54 +0000 (14:19 +0000)
void SMESH_Mesh::ShapeToMesh(const TopoDS_Shape & aShape)
{
 ...
+  else
+  {
+    _isShapeToMesh = false;
+    _myMeshDS->ShapeToMesh( PseudoShape() );
+  }

src/SMESH/SMESH_Mesh.cxx

index ce4f8fa57ac1fd251be2f547fdbcb5be12256d34..b751f3ae8caa433d044ce44d8092255341e0e33d 100644 (file)
@@ -175,6 +175,11 @@ void SMESH_Mesh::ShapeToMesh(const TopoDS_Shape & aShape)
                                         (TopAbs_ShapeEnum) ancType,
                                         _mapAncestors );
   }
+  else
+  {
+    _isShapeToMesh = false;
+    _myMeshDS->ShapeToMesh( PseudoShape() );
+  }
 }
 
 //=======================================================================