mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-15 01:58:36 +05:00
[SALOME platform 0019880]: EDF GEM SMESH 728: SIGSEV while dumping the study
in GetCreatedLast(), increment both entry iterators
This commit is contained in:
parent
54dcca730e
commit
6d5e9822fd
@ -117,7 +117,7 @@ namespace GEOM
|
|||||||
TDF_Tool::TagList(theObj1->GetEntry(), aTags1);
|
TDF_Tool::TagList(theObj1->GetEntry(), aTags1);
|
||||||
TDF_Tool::TagList(theObj2->GetEntry(), aTags2);
|
TDF_Tool::TagList(theObj2->GetEntry(), aTags2);
|
||||||
TColStd_ListIteratorOfListOfInteger aListIter1(aTags1), aListIter2(aTags2);
|
TColStd_ListIteratorOfListOfInteger aListIter1(aTags1), aListIter2(aTags2);
|
||||||
for (; aListIter1.More(); aListIter1.Next()) {
|
for (; aListIter1.More(); aListIter1.Next(), aListIter2.Next()) {
|
||||||
if (!aListIter2.More())
|
if (!aListIter2.More())
|
||||||
return theObj1; // anObj1 is stored under anObj2
|
return theObj1; // anObj1 is stored under anObj2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user