]> SALOME platform Git repositories - modules/smesh.git/commitdiff
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 ee7160486460717571ee521be25f589dd2f4f8f9..d3e504e163f9e1e4311f207441cd18110ceecfc9 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 );
     }
   }