StudioLight: Add a 4th light to adjust lighting
authorClément Foucault <foucault.clem@gmail.com>
Fri, 30 Nov 2018 12:58:27 +0000 (13:58 +0100)
committerClément Foucault <foucault.clem@gmail.com>
Fri, 30 Nov 2018 14:40:57 +0000 (15:40 +0100)
commit909fa08a7654e411b3fba90178a7003646ca7e54
tree1e7a8cb02edac7e4c96a0cd08eb265b696247127
parent856b858f88052371f231c69c182e6169101f9b39
StudioLight: Add a 4th light to adjust lighting

There was a bug due to non-aligned struct in the DNA that prevented us
to increase the size of the userdef light array.

Since the studio lights are now presets and stored in external files,
there is no need to keep backward compatibility with theses lights.

Remove the old array and create a new one.

Add blue tint light for specular.
release/scripts/startup/bl_ui/space_userpref.py
source/blender/blenkernel/intern/blender.c
source/blender/blenkernel/intern/studiolight.c
source/blender/blenloader/intern/versioning_userdef.c
source/blender/draw/engines/workbench/workbench_studiolight.c
source/blender/makesdna/DNA_userdef_types.h
source/blender/makesrna/intern/rna_userdef.c