X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESH_I%2FSMESH_Mesh_i.cxx;fp=src%2FSMESH_I%2FSMESH_Mesh_i.cxx;h=03420b0e4001a06ed711c1d0a41a34f7a25a9e6f;hb=43ce5a9126b4f313e2f199fa920d8876defc2d6b;hp=f777d3ae003eddc6bed1274cd5d05ac5c88c6dd5;hpb=716be18032fcbc0365dae606e0c31d5044757ace;p=modules%2Fsmesh.git diff --git a/src/SMESH_I/SMESH_Mesh_i.cxx b/src/SMESH_I/SMESH_Mesh_i.cxx index f777d3ae0..03420b0e4 100644 --- a/src/SMESH_I/SMESH_Mesh_i.cxx +++ b/src/SMESH_I/SMESH_Mesh_i.cxx @@ -1973,6 +1973,8 @@ void SMESH_Mesh_i::CheckGeomModif() GEOM::GEOM_Object_var mainGO = _gen_i->ShapeToGeomObject( _impl->GetShapeToMesh() ); //if ( mainGO->_is_nil() ) return; + // Update after group modification + if ( mainGO->_is_nil() || /* shape was removed from GEOM_Client by newGroupShape() called by other mesh (IPAL52735) */ mainGO->GetType() == GEOM_GROUP || @@ -1982,6 +1984,8 @@ void SMESH_Mesh_i::CheckGeomModif() return; } + // Update after shape transformation like Translate + GEOM_Client* geomClient = _gen_i->GetShapeReader(); if ( !geomClient ) return; GEOM::GEOM_Gen_var geomGen = _gen_i->GetGeomEngine();