From ef9be98a8466e9abad834ec0a3b5e70d8927bc6b Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 7 Mar 2014 16:04:33 +0400 Subject: [PATCH] 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 --- src/SMESH_I/SMESH_Mesh_i.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 ); } } -- 2.39.2