Salome HOME
22501: [CEA 1076] Impossible to mesh at its position a translated without copy shape...
authoreap <eap@opencascade.com>
Fri, 7 Mar 2014 12:04:33 +0000 (16:04 +0400)
committereap <eap@opencascade.com>
Fri, 7 Mar 2014 12:04:33 +0000 (16:04 +0400)
 update map of CORBA groups

src/SMESH_I/SMESH_Mesh_i.cxx

index ee71604..d3e504e 100644 (file)
@@ -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 );
     }
   }