Quellcode durchsuchen

Blender exporter: Fix reference to missing constant

This made exporting scenes with light not work.
Simon Epskamp vor 8 Jahren
Ursprung
Commit
3e342c1574
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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,
             SUN: constants.DIRECTIONAL_LIGHT,
             SPOT: constants.SPOT_LIGHT,
-            AREA: constants.AREA_LIGHT,
+            AREA: constants.RECT_AREA_LIGHT,
             HEMI: constants.HEMISPHERE_LIGHT
         },
         CAMERA: {