Issue 0020176: bad reference to myStudy variable

This commit is contained in:
vsr 2009-02-20 11:46:41 +00:00
parent 60f46d1961
commit de35f4e2a3

View 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 ""