From: vsr Date: Fri, 20 Feb 2009 11:47:27 +0000 (+0000) Subject: Issue 0020176: bad reference to myStudy variable X-Git-Tag: V4_1_5rc1~15 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cdb7dbee018c87a285bac794b014462dbe648c2b;p=modules%2Fgeom.git Issue 0020176: bad reference to myStudy variable --- diff --git a/src/GEOM_SWIG/geompyDC.py b/src/GEOM_SWIG/geompyDC.py index 63840b317..944ee7ccf 100644 --- a/src/GEOM_SWIG/geompyDC.py +++ b/src/GEOM_SWIG/geompyDC.py @@ -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 ""