From: eap Date: Fri, 3 Oct 2008 10:39:33 +0000 (+0000) Subject: PAL20461 4.x Wrong mesh after creation of 3D mesh from 2D skin. X-Git-Tag: V5_1_0a3~26 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=59566e03c4763710021ff8bd81f8e60cc806cb66;p=modules%2Fsmesh.git PAL20461 4.x Wrong mesh after creation of 3D mesh from 2D skin. additionally fix getDependsOnIterator() if submesh map is empty --- diff --git a/src/SMESH/SMESH_subMesh.cxx b/src/SMESH/SMESH_subMesh.cxx index 12acd6070..728e4bae6 100644 --- a/src/SMESH/SMESH_subMesh.cxx +++ b/src/SMESH/SMESH_subMesh.cxx @@ -2079,6 +2079,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()