Browse Source

Blender Exporter: Removed AreaLight references. Fixes #7141.

Mr.doob 10 years ago
parent
commit
6da28b460c

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

@@ -7,7 +7,6 @@ SPOT = 'SPOT'
 POINT = 'POINT'
 SUN = 'SUN'
 HEMI = 'HEMI'
-AREA = 'AREA'
 
 NO_SHADOW = 'NOSHADOW'
 

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

@@ -13,7 +13,6 @@ from .constants import (
     SUN,
     POINT,
     HEMI,
-    AREA,
     CAMERA,
     PERSP,
     ORTHO,
@@ -191,8 +190,7 @@ def node_type(obj):
             POINT: constants.POINT_LIGHT,
             SUN: constants.DIRECTIONAL_LIGHT,
             SPOT: constants.SPOT_LIGHT,
-            HEMI: constants.HEMISPHERE_LIGHT,
-            AREA: constants.AREA_LIGHT,
+            HEMI: constants.HEMISPHERE_LIGHT
         },
         CAMERA: {
             PERSP: constants.PERSPECTIVE_CAMERA,