From 2e07858ea80732ec38e9e52bcac0f85cb14cd091 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Mon, 3 Aug 2015 00:31:26 -0400 Subject: [PATCH] Don't create lights for meshes O.o --- korman/exporter/rtlight.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/korman/exporter/rtlight.py b/korman/exporter/rtlight.py index 910e354..8c3692f 100644 --- a/korman/exporter/rtlight.py +++ b/korman/exporter/rtlight.py @@ -176,7 +176,7 @@ class LightConverter: continue # This is probably where PermaLight vs PermaProj should be sorted out... - pl_light = self._create_light_key(bo, lamp, None) + pl_light = self._create_light_key(obj, lamp, None) if self._is_projection_lamp(lamp): print(" [{}] PermaProj '{}'".format(lamp.type, obj.name)) permaProj.append(pl_light)