Merge branch 'blender-v5.0-release'

This commit is contained in:
Philipp Oeser
2025-10-14 11:48:52 +02:00
2 changed files with 5 additions and 2 deletions

View File

@@ -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;
}