From 949330b9879fbe09adda1a9919b7e375dee9d323 Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 7 Nov 2012 08:24:45 +0000 Subject: [PATCH] - theElems.insert( face ); + theElems.insert( theElems.end(), face ); --- src/SMESH/SMESH_MeshEditor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2