Merge branch 'blender-v5.0-release'
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -2376,6 +2376,9 @@ static std::optional<std::chrono::nanoseconds> compositor_node_get_execution_tim
|
||||
if (const timeit::Nanoseconds *execution_time =
|
||||
tree_draw_ctx.compositor_per_node_execution_time->lookup_ptr(key))
|
||||
{
|
||||
if (execution_time->count() == 0) {
|
||||
return std::nullopt;
|
||||
}
|
||||
return *execution_time;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user