]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
[SALOME platform 0019880]: EDF GEM SMESH 728: SIGSEV while dumping the study
authoreap <eap@opencascade.com>
Tue, 24 Jun 2008 13:53:04 +0000 (13:53 +0000)
committereap <eap@opencascade.com>
Tue, 24 Jun 2008 13:53:04 +0000 (13:53 +0000)
      in GetCreatedLast(), increment both entry iterators

src/GEOM/GEOM_PythonDump.cxx

index 41b9c184f84e1e9acb5ecbcb57e3fbd92cfd20b6..14c84dc8baca1ab1d98ada7a3b402d7d9a7760db 100644 (file)
@@ -117,7 +117,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