From de35f4e2a3fbb4997a79c9662f941d9b1d1a9d0e Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 20 Feb 2009 11:46:41 +0000 Subject: [PATCH] Issue 0020176: bad reference to myStudy variable --- 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 849095d4e..56e0ba3fb 100644 --- a/src/GEOM_SWIG/geompyDC.py +++ b/src/GEOM_SWIG/geompyDC.py @@ -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 "" -- 2.39.2