From: eap Date: Tue, 24 Mar 2009 08:29:44 +0000 (+0000) Subject: fix the previous modification X-Git-Tag: V5_1_2rc1~75 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=commitdiff_plain;h=95f31e3a95f3c9f5ab427af08a0634e78fd34494 fix the previous modification - std::swap( iAfterSame, iAfterSame ); + std::swap( iBeforeSame, iAfterSame ); --- diff --git a/src/SMESH/SMESH_MeshEditor.cxx b/src/SMESH/SMESH_MeshEditor.cxx index 3e51f4a93..c2584ba86 100644 --- a/src/SMESH/SMESH_MeshEditor.cxx +++ b/src/SMESH/SMESH_MeshEditor.cxx @@ -2829,7 +2829,7 @@ void SMESH_MeshEditor::sweepElement(const SMDS_MeshElement* elem, i0 = 2; i2 = 0; if ( nbSame > 0 ) - std::swap( iAfterSame, iAfterSame ); + std::swap( iBeforeSame, iAfterSame ); } // make new elements