]> 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:47:27 +0000 (11:47 +0000)
committervsr <vsr@opencascade.com>
Fri, 20 Feb 2009 11:47:27 +0000 (11:47 +0000)
src/GEOM_SWIG/geompyDC.py

index 63840b317e1800f13cb4cb1447eabdc3a2f2ceb6..944ee7ccf82587203f317a012a5f487e7d5624ba 100644 (file)
@@ -202,7 +202,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 ""