mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-02-27 10:15:38 +05:00
IPAL21676 crash during Node MakeCompound execution
This commit is contained in:
parent
1fc6c08923
commit
b88356daeb
@ -171,9 +171,10 @@ void GEOM_Superv_i::AddItemToListOfGO(GEOM::GEOM_List_ptr& theList,
|
||||
GEOM::GEOM_Object_ptr theObject)
|
||||
{
|
||||
MESSAGE("GEOM_Superv_i::AddItemToListOfGO(...)");
|
||||
GEOM::GEOM_Object_var anObj = GEOM::GEOM_Object::_duplicate(theObject);
|
||||
if (GEOM_List_i<GEOM::ListOfGO>* aList =
|
||||
dynamic_cast<GEOM_List_i<GEOM::ListOfGO>*>(GetServant(theList, myPOA).in())) {
|
||||
aList->AddObject(theObject);
|
||||
aList->AddObject(anObj);
|
||||
MESSAGE(" NewLength = "<<aList->GetList().length());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user