]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
IPAL21263 addToStudy with doRestoreSubShapes
authordmv <dmv@opencascade.com>
Mon, 26 Apr 2010 12:37:18 +0000 (12:37 +0000)
committerdmv <dmv@opencascade.com>
Mon, 26 Apr 2010 12:37:18 +0000 (12:37 +0000)
src/GEOM_SWIG/geompyDC.py

index c29c8c795a9cd66be19f03ec2f951a7dc3784ab6..24a1a961c5c9809a5fa86271329add89726528c9 100644 (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 ""