mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
added dev assert
This commit is contained in:
parent
3a0a32d8aa
commit
b41597d6dd
@ -41,6 +41,7 @@ def updateSpec(specModule, entTypeModule=EntityTypes, modelPath=None):
|
||||
|
||||
def privUpdateSpec(spec, modelPath, entTypeModule):
|
||||
"""internal: take a spec and update it to match its level model"""
|
||||
assert __dev__
|
||||
assert type(entTypeModule) is types.ModuleType
|
||||
import EntityTypeRegistry
|
||||
etr = EntityTypeRegistry.EntityTypeRegistry(entTypeModule)
|
||||
|
Loading…
x
Reference in New Issue
Block a user