mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
temp workaround
This commit is contained in:
parent
0869d551ae
commit
46e3aa267c
@ -27,7 +27,11 @@ class IntervalManager(CIntervalManager):
|
|||||||
##self.dd = self
|
##self.dd = self
|
||||||
if globalPtr:
|
if globalPtr:
|
||||||
self.cObj = CIntervalManager.getGlobalPtr()
|
self.cObj = CIntervalManager.getGlobalPtr()
|
||||||
|
# Temporary try..except for old Panda.
|
||||||
|
try:
|
||||||
Dtool_BorrowThisReference(self, self.cObj)
|
Dtool_BorrowThisReference(self, self.cObj)
|
||||||
|
except:
|
||||||
|
Dtool_BarrowThisRefrence(self, self.cObj)
|
||||||
self.dd = self
|
self.dd = self
|
||||||
else:
|
else:
|
||||||
CIntervalManager.__init__(self)
|
CIntervalManager.__init__(self)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user