From 638279c85ee4b128c7b264da1885d43aed807525 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Tue, 21 Jun 2016 20:45:48 -0400 Subject: [PATCH] Fix some typos in old projection light code --- korman/exporter/mesh.py | 2 +- korman/exporter/rtlight.py | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/korman/exporter/mesh.py b/korman/exporter/mesh.py index 02e90e2..2bf5a9e 100644 --- a/korman/exporter/mesh.py +++ b/korman/exporter/mesh.py @@ -135,7 +135,7 @@ class MeshConverter: for i in permaLights: geospan.addPermaLight(i) for i in permaProjs: - geospan.addPermaProjs(i) + geospan.addPermaProj(i) # If this object has a CI, we don't need xforms here... if self._exporter().has_coordiface(bo): diff --git a/korman/exporter/rtlight.py b/korman/exporter/rtlight.py index 2ff63e8..f20ff48 100644 --- a/korman/exporter/rtlight.py +++ b/korman/exporter/rtlight.py @@ -204,9 +204,7 @@ class LightConverter: pl_light = self.get_light_key(obj, lamp, None) if self._is_projection_lamp(lamp): print(" [{}] PermaProj '{}'".format(lamp.type, obj.name)) - permaProj.append(pl_light) - # TODO: run this through the material exporter... - # need to do some work to make the texture slot code not assume it's working with a material + permaProjs.append(pl_light) else: print(" [{}] PermaLight '{}'".format(lamp.type, obj.name)) permaLights.append(pl_light)