]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
NPAL16168 (geometrical group edition from a submesh don't modifiy mesh computation)
authoreap <eap@opencascade.com>
Fri, 8 Jun 2007 13:59:26 +0000 (13:59 +0000)
committereap <eap@opencascade.com>
Fri, 8 Jun 2007 13:59:26 +0000 (13:59 +0000)
   CORBA::Boolean SMESH_Gen_i::Compute()
   { ...
+      meshServant->CheckGeomGroupModif();

src/SMESH_I/SMESH_Gen_i.cxx

index 2cb3d2a2d8188259654f43fa6016b113efbaea58..493abb9081ec5b599d70a419d04d13e8343a8580 100644 (file)
@@ -1175,6 +1175,8 @@ CORBA::Boolean SMESH_Gen_i::Compute( SMESH::SMESH_Mesh_ptr theMesh,
     SMESH_Mesh_i* meshServant = dynamic_cast<SMESH_Mesh_i*>( GetServant( theMesh ).in() );
     ASSERT( meshServant );
     if ( meshServant ) {
+      // NPAL16168: "geometrical group edition from a submesh don't modifiy mesh computation"
+      meshServant->CheckGeomGroupModif();
       // get local TopoDS_Shape
       TopoDS_Shape myLocShape = GeomObjectToShape( theShapeObject );
       // call implementation compute