From 0bcc088a36720b983729c428f99462d9897fdf8c Mon Sep 17 00:00:00 2001 From: Philipp Oeser Date: Tue, 14 Oct 2025 11:48:30 +0200 Subject: [PATCH] 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 --- scripts/startup/bl_ui/space_sequencer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/startup/bl_ui/space_sequencer.py b/scripts/startup/bl_ui/space_sequencer.py index 702fdac4e44..194b7919c30 100644 --- a/scripts/startup/bl_ui/space_sequencer.py +++ b/scripts/startup/bl_ui/space_sequencer.py @@ -529,7 +529,7 @@ class SEQUENCER_MT_select(Menu): st = context.space_data has_sequencer, has_preview = _space_view_types(st) 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.selected_retiming_keys ) @@ -1044,7 +1044,7 @@ class SEQUENCER_MT_strip_retiming(Menu): is_retiming = ( context.sequencer_scene 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