mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-14 17:48:34 +05:00
Issue 0020176: bad reference to myStudy variable
This commit is contained in:
parent
8bf379fa30
commit
cdb7dbee01
@ -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 ""
|
||||
|
Loading…
Reference in New Issue
Block a user