]> SALOME platform Git repositories - modules/smesh.git/blobdiff - src/SMESH/SMESH_subMesh.cxx
Salome HOME
PAL20461 4.x Wrong mesh after creation of 3D mesh from 2D skin.
[modules/smesh.git] / src / SMESH / SMESH_subMesh.cxx
index ed6ac1a78163bc49039ee20496a661893996f57d..8842e046427da7a2035e28dc1caaf6e3c43855de 100644 (file)
@@ -2078,6 +2078,7 @@ namespace {
               SMESH_subMesh*                 append): myIt(subIt),myAppend(append)
     {
       myCur = prepend ? prepend : myIt->more() ? myIt->next() : append;
+      if ( myCur == append ) append = 0;
     }
     /// Return true if and only if there are other object in this iterator
     virtual bool more()