1
1

Geometry Nodes: Execute point rotate node on curve component

When adding attributes on the curve component, I missed calling this
node's execute function on the curve component, like the other nodes.
This commit is contained in:
2021-05-19 15:58:34 -04:00
parent 627f357127
commit 3d604ba867

View File

@@ -176,6 +176,9 @@ static void geo_node_point_rotate_exec(GeoNodeExecParams params)
if (geometry_set.has<PointCloudComponent>()) {
point_rotate_on_component(geometry_set.get_component_for_write<PointCloudComponent>(), params);
}
if (geometry_set.has<CurveComponent>()) {
point_rotate_on_component(geometry_set.get_component_for_write<CurveComponent>(), params);
}
params.set_output("Geometry", geometry_set);
}