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