Salome HOME
#16578 EDF - Scibian - ViscousLayer / SIGSEGV
[modules/smesh.git] / src / SMESH_I / SMESH_Mesh_i.cxx
index a9264306ce7a952c97db72620c208eb1b6db2cab..32f6589518009cce59eac15da1a39c6bdf13872b 100644 (file)
@@ -5356,7 +5356,7 @@ void SMESH_Mesh_i::CreateGroupServants()
   while ( groupIt->more() )
   {
     ::SMESH_Group* group = groupIt->next();
-    int            anId = group->GetGroupDS()->GetID();
+    int             anId = group->GetID();
 
     map<int, SMESH::SMESH_GroupBase_ptr>::iterator it = _mapGroups.find(anId);
     if ( it != _mapGroups.end() && !CORBA::is_nil( it->second ))