mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-17 12:12:10 -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
|
||||
# immediately.
|
||||
node = ModelPool.loadModel(modelPath)
|
||||
nodePath = NodePath(node)
|
||||
nodePath = NodePath(node.copySubgraph())
|
||||
cb.gotObject(i, nodePath)
|
||||
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user