]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
fix the previous modification
authoreap <eap@opencascade.com>
Tue, 24 Mar 2009 08:29:44 +0000 (08:29 +0000)
committereap <eap@opencascade.com>
Tue, 24 Mar 2009 08:29:44 +0000 (08:29 +0000)
-      std::swap( iAfterSame, iAfterSame );
+      std::swap( iBeforeSame, iAfterSame );

src/SMESH/SMESH_MeshEditor.cxx

index 3e51f4a935c8435b976ddfbdf08c7d8be4741b81..c2584ba8676044a055e0a144796eb13171e4d3a4 100644 (file)
@@ -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