From: mzn Date: Wed, 29 Nov 2006 11:02:42 +0000 (+0000) Subject: Fix for bug IPAL13981(imp PAL13619: Dump python fails on groups created in Mesh module). X-Git-Tag: V3_2_4pre1~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d3ee8280d18cc6ae679594d8bf0c4b455d09a67a;p=modules%2Fgeom.git Fix for bug IPAL13981(imp PAL13619: Dump python fails on groups created in Mesh module). --- diff --git a/src/GEOM/GEOM_PythonDump.cxx b/src/GEOM/GEOM_PythonDump.cxx index a3ff987bd..60940d941 100644 --- a/src/GEOM/GEOM_PythonDump.cxx +++ b/src/GEOM/GEOM_PythonDump.cxx @@ -124,7 +124,7 @@ namespace GEOM TDF_Tool::TagList(theObj1->GetEntry(), aTags1); TDF_Tool::TagList(theObj2->GetEntry(), aTags2); TColStd_ListIteratorOfListOfInteger aListIter1(aTags1), aListIter2(aTags2); - for (; aListIter1.More(); aListIter1.Next()) { + for (; aListIter1.More(); aListIter1.Next(), aListIter2.Next()) { if (!aListIter2.More()) return theObj1; // anObj1 is stored under anObj2