mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-26 17:30:35 +05:00
0053079: SALOME crashes at Python Dump
This commit is contained in:
parent
e087bbd063
commit
0e330446a2
@ -1278,7 +1278,10 @@ void FillMapOfRef(const Handle(GEOM_Function) &theFunction,
|
||||
|
||||
const int aRefTag = GetTag(anObjEntry);
|
||||
|
||||
theRefMap[anObjTag].push_back(aRefTag);
|
||||
if (anObjTag != aRefTag) {
|
||||
// Avoid making references for operations without copy.
|
||||
theRefMap[anObjTag].push_back(aRefTag);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user