mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
added explicit 'Done.' printouts
This commit is contained in:
parent
cfad1d8c3e
commit
4c923fbd9e
@ -14,6 +14,7 @@ def makeNewSpec(filename, modelPath, entTypeModule=EntityTypes):
|
|||||||
spec = LevelSpec.LevelSpec()
|
spec = LevelSpec.LevelSpec()
|
||||||
privUpdateSpec(spec, modelPath, entTypeModule)
|
privUpdateSpec(spec, modelPath, entTypeModule)
|
||||||
spec.saveToDisk(filename, makeBackup=0)
|
spec.saveToDisk(filename, makeBackup=0)
|
||||||
|
print 'Done.'
|
||||||
|
|
||||||
"""
|
"""
|
||||||
FOR SAME LEVEL MODEL PATH:
|
FOR SAME LEVEL MODEL PATH:
|
||||||
@ -36,6 +37,7 @@ def updateSpec(specModule, entTypeModule=EntityTypes, modelPath=None):
|
|||||||
spec = LevelSpec.LevelSpec(specModule)
|
spec = LevelSpec.LevelSpec(specModule)
|
||||||
privUpdateSpec(spec, modelPath, entTypeModule)
|
privUpdateSpec(spec, modelPath, entTypeModule)
|
||||||
spec.saveToDisk()
|
spec.saveToDisk()
|
||||||
|
print 'Done.'
|
||||||
|
|
||||||
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"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user