소스 검색

Merge pull request #7137 from antont/fix_blenderexport_noarealight

fix blender export by removing ref to constants.AREA_LIGHT removed in 43f1e3d
Mr.doob 10 년 전
부모
커밋
47e05f8ecc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      utils/exporters/blender/addons/io_three/exporter/object.py

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

@@ -109,7 +109,7 @@ class Object(base_classes.BaseNode):
 
         lights = (constants.AMBIENT_LIGHT,
                   constants.DIRECTIONAL_LIGHT,
-                  constants.AREA_LIGHT, constants.POINT_LIGHT,
+                  constants.POINT_LIGHT,
                   constants.SPOT_LIGHT, constants.HEMISPHERE_LIGHT)
 
         if self[constants.TYPE] == constants.MESH: