0053079: SALOME crashes at Python Dump

This commit is contained in:
skv 2016-02-05 17:03:36 +03:00
parent e087bbd063
commit 0e330446a2

View File

@ -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);
}
}
}
}