mirror of
https://github.com/H-uru/korman.git
synced 2025-07-14 22:36:52 +00:00
Fix #3
If we don't reference the SceneNode from each SceneObject, we can't get the SceneNode from an ObjInterface. For some strange reason, plClient overrides the plDrawableSpans SceneNode at runtime. This caused the DSpan to be removed from all nodes.... :/
This commit is contained in:
@ -83,6 +83,7 @@ class ExportManager:
|
||||
if node: # All objects must be in the scene node
|
||||
if isinstance(pl, plSceneObject):
|
||||
node.addSceneObject(pl.key)
|
||||
pl.sceneNode = node.key
|
||||
elif pl.ClassIndex() in _pool_types:
|
||||
node.addPoolObject(pl.key)
|
||||
|
||||
|
Reference in New Issue
Block a user