diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-11-30 15:58:27 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-11-30 17:40:57 +0300 |
commit | 909fa08a7654e411b3fba90178a7003646ca7e54 (patch) | |
tree | 1e7a8cb02edac7e4c96a0cd08eb265b696247127 /release/scripts/startup/bl_ui/space_userpref.py | |
parent | 856b858f88052371f231c69c182e6169101f9b39 (diff) |
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.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_userpref.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_userpref.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py index 041ac14602a..557948504d7 100644 --- a/release/scripts/startup/bl_ui/space_userpref.py +++ b/release/scripts/startup/bl_ui/space_userpref.py @@ -1602,6 +1602,10 @@ class USERPREF_PT_studiolight_lights_editor(Panel): self.opengl_light_buttons(colsplit, light) light = system.solid_lights[2] + colsplit = column.split(factor=0.85) + self.opengl_light_buttons(colsplit, light) + + light = system.solid_lights[3] self.opengl_light_buttons(column, light) layout.separator() |