Salome HOME
projects
/
modules
/
geom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6e3909e
)
ILMAB project. Fix a bug in RestoreSubShapes()
author
eap
<eap@opencascade.com>
Thu, 3 Oct 2013 15:43:48 +0000
(15:43 +0000)
committer
eap
<eap@opencascade.com>
Thu, 3 Oct 2013 15:43:48 +0000
(15:43 +0000)
src/GEOM_I/GEOM_Gen_i.cc
patch
|
blob
|
history
diff --git
a/src/GEOM_I/GEOM_Gen_i.cc
b/src/GEOM_I/GEOM_Gen_i.cc
index 2f2fc0b37fe161ebd47cdbeb0d4c85e301c68488..86fca280e0e5f6a7253a067a539e92e9e9004e74 100644
(file)
--- a/
src/GEOM_I/GEOM_Gen_i.cc
+++ b/
src/GEOM_I/GEOM_Gen_i.cc
@@
-1006,6
+1006,7
@@
GEOM::ListOfGO* GEOM_Gen_i::RestoreSubShapes(SALOMEDS::Study_ptr theStudy,
GEOM::ListOfGBO_var boList = theObject->GetDependency();
aLength = boList->length();
aList = new GEOM::ListOfGO;
+ aList->length(aLength);
for (int i = 0; i < aLength; i++)
aList[i] = GEOM::GEOM_Object::_narrow( boList[i] );
nbArgsActual = aLength;