4
4
mirror of https://github.com/H-uru/korman.git synced 2025-07-14 22:36:52 +00:00

Don't post process objects with no SceneObject

This commit is contained in:
2015-07-18 15:10:27 -04:00
parent 07ee39f2e1
commit cb00e75fd4

View File

@ -258,6 +258,9 @@ class Exporter:
print("\nPostprocessing SceneObjects...")
for bl_obj in self._objects:
sceneobject = self.mgr.find_object(plSceneObject, bl=bl_obj)
if sceneobject is None:
# no SO? fine then. turd.
continue
bl_obj.plasma_net.export(bl_obj, sceneobject)
# Modifiers don't have to expose post-processing, but if they do, run it