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/scripts/startup/bl_ui/space_userpref.py | |
parent | 909fa08a7654e411b3fba90178a7003646ca7e54 (diff) |
StudioLight: Renaming stuffs
Diffstat (limited to 'release/scripts/startup/bl_ui/space_userpref.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_userpref.py | 10 |
1 files changed, 5 insertions, 5 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, ) |