Skip to content

Commit 3e342c1

Browse files
author
Simon Epskamp
committed
Blender exporter: Fix reference to missing constant
This made exporting scenes with light not work.
1 parent 91e3dcb commit 3e342c1

File tree

1 file changed

+1
-1
lines changed
  • utils/exporters/blender/addons/io_three/exporter/api

1 file changed

+1
-1
lines changed

utils/exporters/blender/addons/io_three/exporter/api/object.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ def node_type(obj):
314314
POINT: constants.POINT_LIGHT,
315315
SUN: constants.DIRECTIONAL_LIGHT,
316316
SPOT: constants.SPOT_LIGHT,
317-
AREA: constants.AREA_LIGHT,
317+
AREA: constants.RECT_AREA_LIGHT,
318318
HEMI: constants.HEMISPHERE_LIGHT
319319
},
320320
CAMERA: {

0 commit comments

Comments
 (0)