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>2021-03-23 08:08:53 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-03-23 08:08:53 +0300
commitbb78f38bd1328b8cfe6b4e912e8bb0371035854a (patch)
treed5b652df6bebc29922300cc91f894b8d284dbf72 /release/scripts/startup
parent3117de3a733e70959819ed6c1a76efddb879e269 (diff)
Cleanup: single quotes for Python enums, spelling
Diffstat (limited to 'release/scripts/startup')
-rw-r--r--release/scripts/startup/bl_ui/space_node.py2
-rw-r--r--release/scripts/startup/bl_ui/space_sequencer.py6
-rw-r--r--release/scripts/startup/bl_ui/space_spreadsheet.py4
3 files changed, 6 insertions, 6 deletions
diff --git a/release/scripts/startup/bl_ui/space_node.py b/release/scripts/startup/bl_ui/space_node.py
index b6fbb840fab..a85dd70e8f4 100644
--- a/release/scripts/startup/bl_ui/space_node.py
+++ b/release/scripts/startup/bl_ui/space_node.py
@@ -163,7 +163,7 @@ class NODE_HT_header(Header):
row.template_ID(snode, "node_tree", new="node.new_geometry_node_group_assign")
elif ob:
active_modifier = ob.modifiers.active
- if active_modifier and active_modifier.type == "NODES":
+ if active_modifier and active_modifier.type == 'NODES':
if active_modifier.node_group:
row.template_ID(active_modifier, "node_group", new="node.copy_geometry_node_group_assign")
else:
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py
index e3cb316e8fc..063d8f9184f 100644
--- a/release/scripts/startup/bl_ui/space_sequencer.py
+++ b/release/scripts/startup/bl_ui/space_sequencer.py
@@ -1282,8 +1282,8 @@ class SEQUENCER_PT_effect_text_style(SequencerButtonsPanel, Panel):
row = col.row(align=True)
row.use_property_decorate = False
row.template_ID(strip, "font", open="font.open", unlink="font.unlink")
- row.prop(strip, "use_bold", text="", icon="BOLD")
- row.prop(strip, "use_italic", text="", icon="ITALIC")
+ row.prop(strip, "use_bold", text="", icon='BOLD')
+ row.prop(strip, "use_italic", text="", icon='ITALIC')
col.prop(strip, "font_size")
col.prop(strip, "color")
@@ -2016,7 +2016,7 @@ class SEQUENCER_PT_view(SequencerButtonsPanel_Output, Panel):
col = layout.column()
prop = col.prop(st, "use_proxies")
- if st.proxy_render_size in ('NONE', 'SCENE'):
+ if st.proxy_render_size in {'NONE', 'SCENE'}:
col.enabled = False
col = layout.column()
diff --git a/release/scripts/startup/bl_ui/space_spreadsheet.py b/release/scripts/startup/bl_ui/space_spreadsheet.py
index db9133456a7..188eddbcce3 100644
--- a/release/scripts/startup/bl_ui/space_spreadsheet.py
+++ b/release/scripts/startup/bl_ui/space_spreadsheet.py
@@ -32,13 +32,13 @@ class SPREADSHEET_HT_header(bpy.types.Header):
used_id = pinned_id if pinned_id else context.active_object
layout.prop(space, "object_eval_state", text="")
- if space.object_eval_state != "ORIGINAL":
+ if space.object_eval_state != 'ORIGINAL':
layout.prop(space, "geometry_component_type", text="")
if space.geometry_component_type != 'INSTANCES':
layout.prop(space, "attribute_domain", text="")
if used_id:
- layout.label(text=used_id.name, icon="OBJECT_DATA")
+ layout.label(text=used_id.name, icon='OBJECT_DATA')
layout.operator("spreadsheet.toggle_pin", text="", icon='PINNED' if pinned_id else 'UNPINNED', emboss=False)