Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-12-18 07:01:03 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-12-18 07:02:49 +0300
commitafc4cd1e678b2e0717115d03910af58456f4a038 (patch)
treed8e2335d92af1e8a5f8095aa17524bd755cbad99 /release/scripts/startup/bl_ui/space_userpref.py
parent7721886eadffc3eb07ac2d8c19cf5f4d12cb3f1c (diff)
Cleanup: python quotes
Diffstat (limited to 'release/scripts/startup/bl_ui/space_userpref.py')
-rw-r--r--release/scripts/startup/bl_ui/space_userpref.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py
index efbccc33c1b..88bfa8a2e24 100644
--- a/release/scripts/startup/bl_ui/space_userpref.py
+++ b/release/scripts/startup/bl_ui/space_userpref.py
@@ -45,9 +45,9 @@ class USERPREF_HT_header(Header):
layout.operator("wm.addon_refresh", icon='FILE_REFRESH')
layout.menu("USERPREF_MT_addons_online_resources")
elif userpref.active_section == 'LIGHTS':
- layout.operator('wm.studiolight_install', text="Add MatCap").type = 'MATCAP'
- layout.operator('wm.studiolight_install', text="Add LookDev HDRI").type = 'WORLD'
- op = layout.operator('wm.studiolight_install', text="Add Studio Light")
+ layout.operator("wm.studiolight_install", text="Add MatCap").type = 'MATCAP'
+ layout.operator("wm.studiolight_install", text="Add LookDev HDRI").type = 'WORLD'
+ op = layout.operator("wm.studiolight_install", text="Add Studio Light")
op.type = 'STUDIO'
op.filter_glob = ".sl"
elif userpref.active_section == 'THEMES':
@@ -1521,11 +1521,11 @@ class StudioLightPanelMixin():
row.template_icon(layout.icon(studio_light), scale=6.0)
col = row.column()
- op = col.operator('wm.studiolight_uninstall', text="", icon='REMOVE')
+ op = col.operator("wm.studiolight_uninstall", text="", icon='REMOVE')
op.index = studio_light.index
if studio_light.type == 'STUDIO':
- op = col.operator('wm.studiolight_copy_settings', text="", icon='IMPORT')
+ op = col.operator("wm.studiolight_copy_settings", text="", icon='IMPORT')
op.index = studio_light.index
box.label(text=studio_light.name)
@@ -1571,7 +1571,7 @@ class USERPREF_PT_studiolight_light_editor(Panel):
row = layout.row()
row.prop(system, "edit_studio_light", toggle=True)
- row.operator('wm.studiolight_new', text="Save as Studio light", icon="FILE_TICK")
+ row.operator("wm.studiolight_new", text="Save as Studio light", icon="FILE_TICK")
layout.separator()