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