mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-18 12:43:44 -04:00
fix async shared model problem
This commit is contained in:
parent
5a72582e9c
commit
ecd81372a3
@ -144,7 +144,7 @@ class Loader(DirectObject):
|
|||||||
# thread; and maybe we can just make the callback
|
# thread; and maybe we can just make the callback
|
||||||
# immediately.
|
# immediately.
|
||||||
node = ModelPool.loadModel(modelPath)
|
node = ModelPool.loadModel(modelPath)
|
||||||
nodePath = NodePath(node)
|
nodePath = NodePath(node.copySubgraph())
|
||||||
cb.gotObject(i, nodePath)
|
cb.gotObject(i, nodePath)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user