mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-04-15 21:21:22 +05:00
Issue 0020176: bad reference to myStudy variable
This commit is contained in:
parent
60f46d1961
commit
de35f4e2a3
@ -277,7 +277,7 @@ class geompyDC(GEOM._objref_GEOM_Gen):
|
|||||||
def addToStudyInFather(self, aFather, aShape, aName):
|
def addToStudyInFather(self, aFather, aShape, aName):
|
||||||
# Example: see GEOM_TestAll.py
|
# Example: see GEOM_TestAll.py
|
||||||
try:
|
try:
|
||||||
aSObject = self.AddInStudy(myStudy, aShape, aName, aFather)
|
aSObject = self.AddInStudy(self.myStudy, aShape, aName, aFather)
|
||||||
except:
|
except:
|
||||||
print "addToStudyInFather() failed"
|
print "addToStudyInFather() failed"
|
||||||
return ""
|
return ""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user