diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-11-30 16:10:20 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-11-30 17:40:57 +0300 |
commit | 9ccf27d1f760ab2562d96694c0823b35935bd9a3 (patch) | |
tree | ea6dbd2c05d11ba96545f4598fbd39102d07ce9a /release | |
parent | 909fa08a7654e411b3fba90178a7003646ca7e54 (diff) |
StudioLight: Renaming stuffs
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_userpref.py | 10 | ||||
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py index 557948504d7..56accc902f4 100644 --- a/release/scripts/startup/bl_ui/space_userpref.py +++ b/release/scripts/startup/bl_ui/space_userpref.py @@ -1560,8 +1560,8 @@ class USERPREF_PT_studiolight_lights(Panel, StudioLightPanelMixin): self.draw_light_list(layout, lights) -class USERPREF_PT_studiolight_lights_editor(Panel): - bl_label = "Studio Lights Editor" +class USERPREF_PT_studiolight_light_editor(Panel): + bl_label = "Studio Light Editor" bl_parent_id = "USERPREF_PT_studiolight_lights" bl_space_type = 'USER_PREFERENCES' bl_region_type = 'WINDOW' @@ -1584,14 +1584,14 @@ class USERPREF_PT_studiolight_lights_editor(Panel): system = userpref.system row = layout.row() - row.prop(system, "edit_solid_light", toggle=True) + row.prop(system, "edit_studio_light", toggle=True) row.operator('wm.studiolight_new', text="Save as Studio light", icon="FILE_TICK") layout.separator() layout.use_property_split = True column = layout.split() - column.active = system.edit_solid_light + column.active = system.edit_studio_light light = system.solid_lights[0] colsplit = column.split(factor=0.85) @@ -1628,7 +1628,7 @@ classes = ( USERPREF_MT_addons_online_resources, USERPREF_PT_addons, USERPREF_PT_studiolight_lights, - USERPREF_PT_studiolight_lights_editor, + USERPREF_PT_studiolight_light_editor, USERPREF_PT_studiolight_matcaps, USERPREF_PT_studiolight_world, ) diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index 4900ed6e631..eb0892503a6 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -4218,11 +4218,11 @@ class VIEW3D_PT_shading_lighting(Panel): userpref = context.user_preferences system = userpref.system - if not system.edit_solid_light: + if not system.edit_studio_light: sub.scale_y = 0.6 # smaller studiolight preview sub.template_icon_view(shading, "studio_light", scale=3) else: - sub.prop(system, "edit_solid_light", text="Disable Studio Light Edit", icon="NONE", toggle=True) + sub.prop(system, "edit_studio_light", text="Disable Studio Light Edit", icon="NONE", toggle=True) col = split.column() col.operator('wm.studiolight_userpref_show', emboss=False, text="", icon='PREFERENCES') |