From 86728cc8ae902c0bde0c0eb734ec1e6cb7051058 Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 3 Oct 2008 08:39:10 +0000 Subject: [PATCH] PAL20461 4.x Wrong mesh after creation of 3D mesh from 2D skin. fix getDependsOnIterator() if submesh map is empty --- src/SMESH/SMESH_subMesh.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SMESH/SMESH_subMesh.cxx b/src/SMESH/SMESH_subMesh.cxx index 704703404..ed6ac1a78 100644 --- a/src/SMESH/SMESH_subMesh.cxx +++ b/src/SMESH/SMESH_subMesh.cxx @@ -2077,7 +2077,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() -- 2.39.2