Browse Source

Blender exporter: Fix reference to missing constant

This made exporting scenes with light not work.
Simon Epskamp 8 years ago
parent
commit
3e342c1574
1 changed files with 1 additions and 1 deletions
  1. 1 1
      utils/exporters/blender/addons/io_three/exporter/api/object.py

+ 1 - 1
utils/exporters/blender/addons/io_three/exporter/api/object.py

@@ -314,7 +314,7 @@ def node_type(obj):
             POINT: constants.POINT_LIGHT,
             POINT: constants.POINT_LIGHT,
             SUN: constants.DIRECTIONAL_LIGHT,
             SUN: constants.DIRECTIONAL_LIGHT,
             SPOT: constants.SPOT_LIGHT,
             SPOT: constants.SPOT_LIGHT,
-            AREA: constants.AREA_LIGHT,
+            AREA: constants.RECT_AREA_LIGHT,
             HEMI: constants.HEMISPHERE_LIGHT
             HEMI: constants.HEMISPHERE_LIGHT
         },
         },
         CAMERA: {
         CAMERA: {