mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
Fix obscure error caused by bug in _getDtoolSuperBase
This commit is contained in:
parent
8e76328b3b
commit
500da29013
@ -1429,11 +1429,12 @@ dtoolSuperBase = None
|
||||
|
||||
def _getDtoolSuperBase():
|
||||
global dtoolSuperBase
|
||||
from panda3d.core import PandaNode
|
||||
dtoolSuperBase = PandaNode('').__class__.__bases__[0].__bases__[0].__bases__[0]
|
||||
from panda3d.core import TypedObject
|
||||
dtoolSuperBase = TypedObject.__bases__[0]
|
||||
assert repr(dtoolSuperBase) == "<type 'libdtoolconfig.DTOOL_SUPER_BASE111'>" \
|
||||
or repr(dtoolSuperBase) == "<type 'libdtoolconfig.DTOOL_SUPPER_BASE111'>" \
|
||||
or repr(dtoolSuperBase) == "<type 'dtoolconfig.DTOOL_SUPER_BASE111'>"
|
||||
or repr(dtoolSuperBase) == "<type 'dtoolconfig.DTOOL_SUPER_BASE111'>" \
|
||||
or repr(dtoolSuperBase) == "<type 'dtoolconfig.DTOOL_SUPER_BASE'>"
|
||||
|
||||
safeReprNotify = None
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user