diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-03-06 11:24:31 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-03-06 11:26:18 +0300 |
commit | 995bb0860a540e2f0240dc34a1f2628dcf87e09a (patch) | |
tree | c3060890bcdf6bd28c434253f9c0d0f075fd3fe8 /release/scripts/startup/bl_ui | |
parent | 37793b90be12307c368bea9bb44f13e133eff706 (diff) |
Cleanup: remove redundant draw callback
Diffstat (limited to 'release/scripts/startup/bl_ui')
-rw-r--r-- | release/scripts/startup/bl_ui/space_toolsystem_toolbar.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py index 46c2c24cb6f..1e52142c85c 100644 --- a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py +++ b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py @@ -2411,8 +2411,6 @@ class _defs_sequencer_generic: @ToolDef.from_fn def sample(): - def draw_settings(_context, layout, tool): - props = tool.operator_properties("sequencer.sample") return dict( idname="builtin.sample", label="Sample", @@ -2421,7 +2419,6 @@ class _defs_sequencer_generic: ), icon="ops.paint.weight_sample", # XXX, needs own icon. keymap="Sequencer Tool: Sample", - draw_settings=draw_settings, ) |