IPAL21263 addToStudy with doRestoreSubShapes

This commit is contained in:
dmv 2010-04-26 12:37:18 +00:00
parent 8f336dcd34
commit 91df875fd2

View File

@ -358,7 +358,7 @@ class geompyDC(GEOM._objref_GEOM_Gen):
aSObject = self.AddInStudy(self.myStudy, aShape, aName, None)
if doRestoreSubShapes:
self.RestoreSubShapesSO(self.myStudy, aSObject, theArgs,
theFindMethod, theInheritFirstArg)
theFindMethod, theInheritFirstArg, True )
except:
print "addToStudy() failed"
return ""