Salome HOME
Integration of PAL/SALOME V2.1.0c from OCC
[modules/smesh.git] / src / SMESH / SMESH_Group.cxx
index da29a298927caec6fc3f566d1e9ca7a668e1195f..85f024f756554b50f050d3dd5da964da0107ee38 100644 (file)
  */
 //=============================================================================
 
-SMESH_Group::SMESH_Group (const SMESH_Mesh*         theMesh,
+SMESH_Group::SMESH_Group (int                       theID,
+                          const SMESH_Mesh*         theMesh,
                           const SMDSAbs_ElementType theType,
                           const char*               theName)
      : myName(theName)
 {
-  myGroupDS = new SMESHDS_Group (const_cast<SMESH_Mesh*>(theMesh)->GetMeshDS(), theType);
+  myGroupDS = new SMESHDS_Group (theID,
+                                 const_cast<SMESH_Mesh*>(theMesh)->GetMeshDS(),
+                                 theType);
 }
 
 //=============================================================================