From: eap Date: Wed, 7 Nov 2012 08:24:45 +0000 (+0000) Subject: - theElems.insert( face ); X-Git-Tag: V6_6_0b1~18 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=949330b9879fbe09adda1a9919b7e375dee9d323;p=modules%2Fsmesh.git - theElems.insert( face ); + theElems.insert( theElems.end(), face ); --- diff --git a/src/SMESH/SMESH_MeshEditor.cxx b/src/SMESH/SMESH_MeshEditor.cxx index 7691b580d..6088625bd 100644 --- a/src/SMESH/SMESH_MeshEditor.cxx +++ b/src/SMESH/SMESH_MeshEditor.cxx @@ -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