]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
- theElems.insert( face );
authoreap <eap@opencascade.com>
Wed, 7 Nov 2012 08:24:45 +0000 (08:24 +0000)
committereap <eap@opencascade.com>
Wed, 7 Nov 2012 08:24:45 +0000 (08:24 +0000)
+      theElems.insert( theElems.end(), face );

src/SMESH/SMESH_MeshEditor.cxx

index 7691b580d381b8188c95dfa35ef761d445a8dbd4..6088625bd52e036abcd0f6b5def5d80c6fb34c85 100644 (file)
@@ -3115,7 +3115,7 @@ void SMESH_MeshEditor::Smooth (TIDSortedElemSet &          theElems,
     SMDS_FaceIteratorPtr fIt = aMesh->facesIterator();
     while ( fIt->more() ) {
       const SMDS_MeshElement* face = fIt->next();
-      theElems.insert( face );
+      theElems.insert( theElems.end(), face );
     }
   }
   // get all face ids theElems are on