Lights: change sun light size to be specified as angle
authorTim Stullich <tstullich>
Wed, 15 May 2019 12:45:33 +0000 (14:45 +0200)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Wed, 15 May 2019 14:07:50 +0000 (16:07 +0200)
commit5ba1a6bee0426e77a01cec8c89999ee4d15ced63
tree3f6fa2deef19c31f93c9d68d54814fa85bf5d52a
parent2497ee31ec89560a9b72a070a70735caa6655b9e
Lights: change sun light size to be specified as angle

This is the angular diameter as seen from earth, which is between 0.526° and
0.545° in reality. Sharing the size with other light types did not make much
sense and meant the unit was unclear.

Differential Revision: https://developer.blender.org/D4819
12 files changed:
intern/cycles/blender/addon/properties.py
intern/cycles/blender/addon/ui.py
intern/cycles/blender/blender_object.cpp
intern/cycles/render/light.cpp
intern/cycles/render/light.h
release/scripts/startup/bl_ui/properties_data_light.py
release/scripts/startup/bl_ui/space_view3d.py
source/blender/blenkernel/intern/light.c
source/blender/blenloader/intern/versioning_280.c
source/blender/draw/engines/eevee/eevee_lights.c
source/blender/makesdna/DNA_light_types.h
source/blender/makesrna/intern/rna_light.c