[Bf-blender-cvs] [4f4a74c0af2] blender2.8: UI: Fix Studio Light panel in user preferencies
Clément Foucault
noreply at git.blender.org
Mon Oct 29 22:40:45 CET 2018
Commit: 4f4a74c0af2cff7b4bb27c5da527e1995177fcac
Author: Clément Foucault
Date: Mon Oct 29 22:27:12 2018 +0100
Branches: blender2.8
https://developer.blender.org/rB4f4a74c0af2cff7b4bb27c5da527e1995177fcac
UI: Fix Studio Light panel in user preferencies
===================================================================
M release/scripts/startup/bl_ui/space_userpref.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py
index d78f13bf9e1..88e173724ca 100644
--- a/release/scripts/startup/bl_ui/space_userpref.py
+++ b/release/scripts/startup/bl_ui/space_userpref.py
@@ -1506,7 +1506,7 @@ class StudioLightPanelMixin():
userpref = context.user_preferences
lights = self._get_lights(userpref)
if lights:
- flow = layout.column_flow(4)
+ flow = layout.column_flow(columns=4)
for studio_light in lights:
self.draw_studio_light(flow, studio_light)
else:
@@ -1517,7 +1517,7 @@ class StudioLightPanelMixin():
row = box.row()
row.template_icon(layout.icon(studio_light), scale=6.0)
- op = row.operator('wm.studiolight_uninstall', text="", icon='ZOOMOUT')
+ op = row.operator('wm.studiolight_uninstall', text="", icon='REMOVE')
op.index = studio_light.index
box.label(text=studio_light.name)
More information about the Bf-blender-cvs
mailing list