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
This commit is contained in:
eap 2014-03-07 16:04:33 +04:00
parent be0348c630
commit ef9be98a84

View File

@ -1912,8 +1912,11 @@ void SMESH_Mesh_i::CheckGeomModif()
} }
else else
{ {
gr_i->changeLocalId( id );
g->GetGroupDS()->SetColor( data._color ); g->GetGroupDS()->SetColor( data._color );
gr_i->changeLocalId( id );
_mapGroups[ id ] = i2g->second;
if ( data._oldID != id )
_mapGroups.erase( i2g );
} }
} }