Salome HOME
22834: [CEA 1347] Viscous layers: be able to choose the extrusion method (imp_1347_vi...
[modules/smesh.git] / src / SMESH / SMESH_MeshEditor.cxx
index 4e673ebcea020be261c6edfa94b5ba3a80d5bf33..20aeb54af376c993c653786a6f76c5f502442d10 100644 (file)
@@ -4352,6 +4352,7 @@ void SMESH_MeshEditor::sweepElement(const SMDS_MeshElement*               elem,
         std::swap( itNN[0],    itNN[1] );
         std::swap( prevNod[0], prevNod[1] );
         std::swap( nextNod[0], nextNod[1] );
+        isSingleNode.swap( isSingleNode[0], isSingleNode[1] );
         if ( nbSame > 0 )
           sames[0] = 1 - sames[0];
         iNotSameNode = 1 - iNotSameNode;