Browse Source

Fix typo in exception name so error reporting doesn't throw an error.

pull/24/head
Joseph Davies 9 years ago
parent
commit
d8e69fa09b
  1. 2
      korman/exporter/rtlight.py

2
korman/exporter/rtlight.py

@ -198,7 +198,7 @@ class LightConverter:
xlate = _BL2PL[bl_light.type] xlate = _BL2PL[bl_light.type]
return self.mgr.find_create_key(xlate, bl=bo, so=so) return self.mgr.find_create_key(xlate, bl=bo, so=so)
except LookupError: except LookupError:
raise BlenderOptionNotSupported("Object ('{}') lamp type '{}'".format(bo.name, bl_light.type)) raise BlenderOptionNotSupportedError("Object ('{}') lamp type '{}'".format(bo.name, bl_light.type))
def _is_projection_lamp(self, bl_light): def _is_projection_lamp(self, bl_light):
for tex in bl_light.texture_slots: for tex in bl_light.texture_slots:

Loading…
Cancel
Save