mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -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):
|
def privUpdateSpec(spec, modelPath, entTypeModule):
|
||||||
"""internal: take a spec and update it to match its level model"""
|
"""internal: take a spec and update it to match its level model"""
|
||||||
|
assert __dev__
|
||||||
assert type(entTypeModule) is types.ModuleType
|
assert type(entTypeModule) is types.ModuleType
|
||||||
import EntityTypeRegistry
|
import EntityTypeRegistry
|
||||||
etr = EntityTypeRegistry.EntityTypeRegistry(entTypeModule)
|
etr = EntityTypeRegistry.EntityTypeRegistry(entTypeModule)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user