Fix #147934: VSE: Reset retiming never active
Caused by 2b53ed9add
The "is not None" check wasnt not working because it was used against a
boolean.
(Also bring two occasions of the "is_retiming" in sync)
Pull Request: https://projects.blender.org/blender/blender/pulls/147960
This commit is contained in:
committed by
Philipp Oeser
parent
88aff1400d
commit
0bcc088a36
@@ -529,7 +529,7 @@ class SEQUENCER_MT_select(Menu):
|
|||||||
st = context.space_data
|
st = context.space_data
|
||||||
has_sequencer, has_preview = _space_view_types(st)
|
has_sequencer, has_preview = _space_view_types(st)
|
||||||
is_retiming = (
|
is_retiming = (
|
||||||
context.sequencer_scene and
|
context.sequencer_scene is not None and
|
||||||
context.sequencer_scene.sequence_editor is not None and
|
context.sequencer_scene.sequence_editor is not None and
|
||||||
context.sequencer_scene.sequence_editor.selected_retiming_keys
|
context.sequencer_scene.sequence_editor.selected_retiming_keys
|
||||||
)
|
)
|
||||||
@@ -1044,7 +1044,7 @@ class SEQUENCER_MT_strip_retiming(Menu):
|
|||||||
is_retiming = (
|
is_retiming = (
|
||||||
context.sequencer_scene is not None and
|
context.sequencer_scene is not None and
|
||||||
context.sequencer_scene.sequence_editor is not None and
|
context.sequencer_scene.sequence_editor is not None and
|
||||||
context.sequencer_scene.sequence_editor.selected_retiming_keys is not None
|
context.sequencer_scene.sequence_editor.selected_retiming_keys
|
||||||
)
|
)
|
||||||
strip = context.active_strip
|
strip = context.active_strip
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user