diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-12-17 09:20:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-12-17 09:22:50 +0300 |
commit | 42b9df5907d041a5a68585308b1e11b2eac2c947 (patch) | |
tree | 571862dcfcafbd707a44eb2b7d5b98718c012d9b /release/scripts/startup/bl_ui/space_sequencer.py | |
parent | 98f43ba3e4cb0a26eb62ea98e27a313265f8948c (diff) |
Cleanup: use 'tool_settings' name everywhere in UI scripts
Diffstat (limited to 'release/scripts/startup/bl_ui/space_sequencer.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_sequencer.py | 8 |
1 files changed, 4 insertions, 4 deletions
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 |