From 8a8c5fdeb1b50b313b9fa1da423933357088a52d Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Thu, 10 Jul 2014 00:04:54 -0400 Subject: [PATCH] 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.... :/ --- korman/exporter/manager.py | 1 + 1 file changed, 1 insertion(+) diff --git a/korman/exporter/manager.py b/korman/exporter/manager.py index a7793ee..335fea5 100644 --- a/korman/exporter/manager.py +++ b/korman/exporter/manager.py @@ -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)