diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2018-06-11 16:54:02 +0300 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2018-06-11 16:54:24 +0300 |
commit | 9e439197edcdae1ec9445524bd85bed85249f497 (patch) | |
tree | 84e719b0923945883b827c3f4d604e8385c82b01 /release/scripts/startup/bl_ui | |
parent | 9b39a5142f974ed1bc63da298732259394794423 (diff) |
Workbench: API Changes
- merged matcap and studioLight api
Diffstat (limited to 'release/scripts/startup/bl_ui')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index 899529476a8..8ced2730cc6 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -3522,12 +3522,12 @@ class VIEW3D_PT_shading(Panel): row.template_icon_view(shading, "studio_light") sub = row.column() sub.operator('wm.studiolight_userpref_show', emboss=False, text="", icon='PREFERENCES') - if shading.studio_light_orientation == 'WORLD': + if shading.selected_studio_light.orientation == 'WORLD': col.row().prop(shading, "studiolight_rot_z") elif shading.light == 'MATCAP': row = col.row() - row.template_icon_view(shading, "matcap") + row.template_icon_view(shading, "studio_light") sub = row.column() sub.operator('VIEW3D_OT_toggle_matcap_flip', emboss=False, text="", icon='ARROW_LEFTRIGHT') sub.operator('wm.studiolight_userpref_show', emboss=False, text="", icon='PREFERENCES') @@ -3582,7 +3582,7 @@ class VIEW3D_PT_shading(Panel): row.template_icon_view(shading, "studio_light") sub = row.column() sub.operator('wm.studiolight_userpref_show', emboss=False, text="", icon='PREFERENCES') - if shading.studio_light_orientation == 'WORLD': + if shading.selected_studio_light.orientation == 'WORLD': col.row().prop(shading, "studiolight_rot_z") col.row().prop(shading, "studiolight_background") col.prop(shading, "use_scene_light") |