diff --git a/source/blender/editors/space_node/node_draw.cc b/source/blender/editors/space_node/node_draw.cc index 9fd75611efc..1e5030cd996 100644 --- a/source/blender/editors/space_node/node_draw.cc +++ b/source/blender/editors/space_node/node_draw.cc @@ -2376,6 +2376,9 @@ static std::optional 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; }