From 91df875fd2f81bdf0a1f3581ab13fa032196444f Mon Sep 17 00:00:00 2001 From: dmv Date: Mon, 26 Apr 2010 12:37:18 +0000 Subject: [PATCH] IPAL21263 addToStudy with doRestoreSubShapes --- src/GEOM_SWIG/geompyDC.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ""