diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-03-13 03:52:54 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-03-13 05:32:10 +0300 |
commit | 16b6b03969f4e8199597fae68eb1dd278f13c336 (patch) | |
tree | c6bbaff0bb8790ba52daba1c58a1b8340c8f465e /release/scripts/startup/bl_ui/space_sequencer.py | |
parent | e24de17b8dfc8c8e06782c2d68c9781a979e4768 (diff) |
Cleanup: pass context to draw method instead of accessing from bpy
Allows for context overrides/mocking.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_sequencer.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_sequencer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py index 7fcc5a07980..678050aa58a 100644 --- a/release/scripts/startup/bl_ui/space_sequencer.py +++ b/release/scripts/startup/bl_ui/space_sequencer.py @@ -277,7 +277,7 @@ class SEQUENCER_MT_marker(Menu): is_sequencer_view = st.view_type in {'SEQUENCER', 'SEQUENCER_PREVIEW'} from .space_time import marker_menu_generic - marker_menu_generic(layout) + marker_menu_generic(layout, context) if is_sequencer_view: layout.prop(st, "use_marker_sync") |