mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-28 18:30:36 +05:00
IPAL21263 addToStudy with doRestoreSubShapes
This commit is contained in:
parent
8f336dcd34
commit
91df875fd2
@ -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 ""
|
||||
|
Loading…
Reference in New Issue
Block a user