mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
assert model loaded
This commit is contained in:
parent
ea262c92cb
commit
8c9b7b114b
@ -56,6 +56,7 @@ def privUpdateSpec(spec, modelPath, entTypeModule):
|
||||
TexturePool.setFakeTextureImage(
|
||||
'/i/alpha/player/install/ttmodels/src/fonts/ImpressBT.rgb')
|
||||
model = loader.loadModel(modelPath)
|
||||
assert model is not None
|
||||
TexturePool.clearFakeTextureImage()
|
||||
# get the model's zone info
|
||||
modelZoneNum2node = LevelUtil.getZoneNum2Node(model)
|
||||
|
Loading…
x
Reference in New Issue
Block a user