mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -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():
|
def _getDtoolSuperBase():
|
||||||
global dtoolSuperBase
|
global dtoolSuperBase
|
||||||
from panda3d.core import PandaNode
|
from panda3d.core import TypedObject
|
||||||
dtoolSuperBase = PandaNode('').__class__.__bases__[0].__bases__[0].__bases__[0]
|
dtoolSuperBase = TypedObject.__bases__[0]
|
||||||
assert repr(dtoolSuperBase) == "<type 'libdtoolconfig.DTOOL_SUPER_BASE111'>" \
|
assert repr(dtoolSuperBase) == "<type 'libdtoolconfig.DTOOL_SUPER_BASE111'>" \
|
||||||
or repr(dtoolSuperBase) == "<type 'libdtoolconfig.DTOOL_SUPPER_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
|
safeReprNotify = None
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user