Browse Source

Fix DTOOL_SUPER_BASE111 assertion error with the new building style

rdb 11 years ago
parent
commit
e6c8957d27
1 changed files with 2 additions and 1 deletions
  1. 2 1
      direct/src/showbase/PythonUtil.py

+ 2 - 1
direct/src/showbase/PythonUtil.py

@@ -2459,7 +2459,8 @@ def _getDtoolSuperBase():
     from pandac.PandaModules import PandaNode
     dtoolSuperBase = PandaNode('').__class__.__bases__[0].__bases__[0].__bases__[0]
     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'>"
     
 safeReprNotify = None