]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Fix for bug IPAL13981(imp PAL13619: Dump python fails on groups created in Mesh module).
authormzn <mzn@opencascade.com>
Wed, 29 Nov 2006 11:02:42 +0000 (11:02 +0000)
committermzn <mzn@opencascade.com>
Wed, 29 Nov 2006 11:02:42 +0000 (11:02 +0000)
src/GEOM/GEOM_PythonDump.cxx

index a3ff987bde2d2234fce5c3b84cf837c5f6a0dba1..60940d941fd39ac89fa16d120daaf1fdcc4fbbc5 100644 (file)
@@ -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