From 42b9df5907d041a5a68585308b1e11b2eac2c947 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 17 Dec 2018 17:20:24 +1100 Subject: Cleanup: use 'tool_settings' name everywhere in UI scripts --- release/scripts/startup/bl_ui/space_sequencer.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'release/scripts/startup/bl_ui/space_sequencer.py') diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py index c3ca26efcb7..afdae718654 100644 --- a/release/scripts/startup/bl_ui/space_sequencer.py +++ b/release/scripts/startup/bl_ui/space_sequencer.py @@ -119,14 +119,14 @@ class SEQUENCER_HT_header(Header): if st.view_type in {'PREVIEW', 'SEQUENCER_PREVIEW'}: gpd = context.gpencil_data - toolsettings = context.tool_settings + tool_settings = context.tool_settings # Proportional editing if gpd and gpd.use_stroke_edit_mode: row = layout.row(align=True) - row.prop(toolsettings, "proportional_edit", icon_only=True) - if toolsettings.proportional_edit != 'DISABLED': - row.prop(toolsettings, "proportional_edit_falloff", icon_only=True) + row.prop(tool_settings, "proportional_edit", icon_only=True) + if tool_settings.proportional_edit != 'DISABLED': + row.prop(tool_settings, "proportional_edit_falloff", icon_only=True) row = layout.row(align=True) row.operator("render.opengl", text="", icon='RENDER_STILL').sequencer = True -- cgit v1.2.3