Geometry Nodes: show node timings for import nodes

This commit is contained in:
Jacques Lucke
2025-05-04 05:44:52 +02:00
parent ebeb5cc2fc
commit 327ac569b2

View File

@@ -3151,7 +3151,8 @@ static Vector<NodeExtraInfoRow> node_get_extra_info(const bContext &C,
GEO_NODE_SIMULATION_OUTPUT,
GEO_NODE_REPEAT_OUTPUT,
GEO_NODE_FOREACH_GEOMETRY_ELEMENT_OUTPUT,
GEO_NODE_EVALUATE_CLOSURE)))
GEO_NODE_EVALUATE_CLOSURE) ||
StringRef(node.idname).startswith("GeometryNodeImport")))
{
std::optional<NodeExtraInfoRow> row = node_get_execution_time_label_row(
tree_draw_ctx, snode, node);