From: eap Date: Fri, 7 Mar 2014 12:04:33 +0000 (+0400) Subject: 22501: [CEA 1076] Impossible to mesh at its position a translated without copy shape... X-Git-Tag: V7_4_0a1~42 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ef9be98a8466e9abad834ec0a3b5e70d8927bc6b;p=modules%2Fsmesh.git 22501: [CEA 1076] Impossible to mesh at its position a translated without copy shape if the shape has already been meshed update map of CORBA groups --- diff --git a/src/SMESH_I/SMESH_Mesh_i.cxx b/src/SMESH_I/SMESH_Mesh_i.cxx index ee7160486..d3e504e16 100644 --- a/src/SMESH_I/SMESH_Mesh_i.cxx +++ b/src/SMESH_I/SMESH_Mesh_i.cxx @@ -1912,8 +1912,11 @@ void SMESH_Mesh_i::CheckGeomModif() } else { - gr_i->changeLocalId( id ); g->GetGroupDS()->SetColor( data._color ); + gr_i->changeLocalId( id ); + _mapGroups[ id ] = i2g->second; + if ( data._oldID != id ) + _mapGroups.erase( i2g ); } }