fix async shared model problem

This commit is contained in:
David Rose 2006-09-22 23:47:16 +00:00
parent 5a72582e9c
commit ecd81372a3

View File

@ -144,7 +144,7 @@ class Loader(DirectObject):
# thread; and maybe we can just make the callback
# immediately.
node = ModelPool.loadModel(modelPath)
nodePath = NodePath(node)
nodePath = NodePath(node.copySubgraph())
cb.gotObject(i, nodePath)
else: