- theElems.insert( face );

+      theElems.insert( theElems.end(), face );
This commit is contained in:
eap 2012-11-07 08:24:45 +00:00
parent 1df3773296
commit 949330b987

View File

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