fix loadModelOnce() to work if the model has been instanced previously

This commit is contained in:
David Rose 2002-06-27 00:36:40 +00:00
parent d9283e2049
commit 389440d1d9

View File

@ -50,7 +50,7 @@ class Loader:
phaseChecker(modelPath)
node = ModelPool.loadModel(modelPath)
if (node != None):
nodePath = NodePath(node)
nodePath = NodePath.anyPath(node)
else:
nodePath = None
return nodePath