]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Issue 0020176: bad reference to myStudy variable
authorvsr <vsr@opencascade.com>
Fri, 20 Feb 2009 11:46:41 +0000 (11:46 +0000)
committervsr <vsr@opencascade.com>
Fri, 20 Feb 2009 11:46:41 +0000 (11:46 +0000)
src/GEOM_SWIG/geompyDC.py

index 849095d4e31f5e9a91225f305f13a108d50a7ce9..56e0ba3fb9230e4bd59bfa5040bd14280041d388 100644 (file)
@@ -277,7 +277,7 @@ class geompyDC(GEOM._objref_GEOM_Gen):
         def addToStudyInFather(self, aFather, aShape, aName):
             # Example: see GEOM_TestAll.py
             try:
-                aSObject = self.AddInStudy(myStudy, aShape, aName, aFather)
+                aSObject = self.AddInStudy(self.myStudy, aShape, aName, aFather)
             except:
                 print "addToStudyInFather() failed"
                 return ""