mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
accept HumanDNA instead of HumanDNAAI
This commit is contained in:
parent
80109f394c
commit
497d3b2610
@ -141,6 +141,11 @@ class ServerRepository:
|
|||||||
# Does the class have a definition defined in the newly
|
# Does the class have a definition defined in the newly
|
||||||
# imported namespace?
|
# imported namespace?
|
||||||
classDef = dcImports.get(className)
|
classDef = dcImports.get(className)
|
||||||
|
|
||||||
|
# Also try it without the dcSuffix.
|
||||||
|
if classDef == None:
|
||||||
|
classDef = dcImports.get(dcClass.getName())
|
||||||
|
|
||||||
if classDef == None:
|
if classDef == None:
|
||||||
self.notify.info("No class definition for %s." % (className))
|
self.notify.info("No class definition for %s." % (className))
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user