mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-26 09:20:35 +05:00
ILMAB project. Fix a bug in RestoreSubShapes()
This commit is contained in:
parent
6e3909e3d5
commit
e071b309e6
@ -1006,6 +1006,7 @@ GEOM::ListOfGO* GEOM_Gen_i::RestoreSubShapes(SALOMEDS::Study_ptr theStudy,
|
|||||||
GEOM::ListOfGBO_var boList = theObject->GetDependency();
|
GEOM::ListOfGBO_var boList = theObject->GetDependency();
|
||||||
aLength = boList->length();
|
aLength = boList->length();
|
||||||
aList = new GEOM::ListOfGO;
|
aList = new GEOM::ListOfGO;
|
||||||
|
aList->length(aLength);
|
||||||
for (int i = 0; i < aLength; i++)
|
for (int i = 0; i < aLength; i++)
|
||||||
aList[i] = GEOM::GEOM_Object::_narrow( boList[i] );
|
aList[i] = GEOM::GEOM_Object::_narrow( boList[i] );
|
||||||
nbArgsActual = aLength;
|
nbArgsActual = aLength;
|
||||||
|
Loading…
Reference in New Issue
Block a user