mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-29 10:50:35 +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)
|
aSObject = self.AddInStudy(self.myStudy, aShape, aName, None)
|
||||||
if doRestoreSubShapes:
|
if doRestoreSubShapes:
|
||||||
self.RestoreSubShapesSO(self.myStudy, aSObject, theArgs,
|
self.RestoreSubShapesSO(self.myStudy, aSObject, theArgs,
|
||||||
theFindMethod, theInheritFirstArg)
|
theFindMethod, theInheritFirstArg, True )
|
||||||
except:
|
except:
|
||||||
print "addToStudy() failed"
|
print "addToStudy() failed"
|
||||||
return ""
|
return ""
|
||||||
|
Loading…
Reference in New Issue
Block a user