PAL20461 4.x Wrong mesh after creation of 3D mesh from 2D skin.

fix getDependsOnIterator() if submesh map is empty
This commit is contained in:
eap 2008-10-03 08:39:10 +00:00
parent 5555c0e6ec
commit 86728cc8ae

View File

@ -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()