From: dmv Date: Mon, 26 Apr 2010 12:37:18 +0000 (+0000) Subject: IPAL21263 addToStudy with doRestoreSubShapes X-Git-Tag: V5_1_4rc1~23 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=91df875fd2f81bdf0a1f3581ab13fa032196444f;p=modules%2Fgeom.git IPAL21263 addToStudy with doRestoreSubShapes --- diff --git a/src/GEOM_SWIG/geompyDC.py b/src/GEOM_SWIG/geompyDC.py index c29c8c795..24a1a961c 100644 --- a/src/GEOM_SWIG/geompyDC.py +++ b/src/GEOM_SWIG/geompyDC.py @@ -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 ""