From: eap Date: Fri, 3 Oct 2008 08:39:28 +0000 (+0000) Subject: PAL20461 4.x Wrong mesh after creation of 3D mesh from 2D skin. X-Git-Tag: V5_1_0a3~27 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b07bf8e14047f5c1f02ce679927a666f1586fd75;p=modules%2Fsmesh.git PAL20461 4.x Wrong mesh after creation of 3D mesh from 2D skin. fix getDependsOnIterator() if submesh map is empty --- diff --git a/src/SMESH/SMESH_subMesh.cxx b/src/SMESH/SMESH_subMesh.cxx index 85a1bcda9..12acd6070 100644 --- a/src/SMESH/SMESH_subMesh.cxx +++ b/src/SMESH/SMESH_subMesh.cxx @@ -2078,7 +2078,7 @@ namespace { SMESH_subMesh* prepend, SMESH_subMesh* append): myIt(subIt),myAppend(append) { - myCur = prepend ? prepend : myIt->more() ? myIt->next() : 0; + myCur = prepend ? prepend : myIt->more() ? myIt->next() : append; } /// Return true if and only if there are other object in this iterator virtual bool more()