Fix: Broken menus in VSE
The Select > All menu option was missing, and the logic for showing
the retiming menus was broken.
This was accidentally introduced in 2aa346a123
Pull Request: https://projects.blender.org/blender/blender/pulls/124785
This commit is contained in:
@@ -573,8 +573,9 @@ class SEQUENCER_MT_select(Menu):
|
||||
st = context.space_data
|
||||
has_sequencer, has_preview = _space_view_types(st)
|
||||
is_retiming = context.scene.sequence_editor is not None and \
|
||||
context.scene.sequence_editor.selected_retiming_keys is not None
|
||||
context.scene.sequence_editor.selected_retiming_keys
|
||||
|
||||
layout.operator("sequencer.select_all", text="All").action = 'SELECT'
|
||||
layout.operator("sequencer.select_all", text="None").action = 'DESELECT'
|
||||
layout.operator("sequencer.select_all", text="Invert").action = 'INVERT'
|
||||
|
||||
@@ -954,7 +955,8 @@ class SEQUENCER_MT_strip_retiming(Menu):
|
||||
|
||||
def draw(self, context):
|
||||
is_retiming = context.scene.sequence_editor is not None and \
|
||||
context.scene.sequence_editor.selected_retiming_keys is not None
|
||||
context.scene.sequence_editor.selected_retiming_keys
|
||||
strip = context.active_sequence_strip
|
||||
layout = self.layout
|
||||
|
||||
layout.operator("sequencer.retiming_key_add")
|
||||
|
||||
Reference in New Issue
Block a user