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)