Salome HOME
0021347: [CEA 497] Visualisation into SMESH and VISU of hexagonal prism cells (MED_OC...
[modules/smesh.git] / src / SMDS / SMDS_MeshGroup.cxx
index 842e6c2845fef39e24f9a5b3bb33541b3f010e42..a8ff27f8b6ded4949b1367f773b1c15b8deb80e4 100644 (file)
@@ -131,7 +131,7 @@ void SMDS_MeshGroup::Add(const SMDS_MeshElement * theElem)
     return;
   }
         
-  myElements.insert(theElem);
+  myElements.insert(myElements.end(), theElem);
   ++myTic;
 }