diff options
author | Hans Goudey <h.goudey@me.com> | 2021-05-19 22:58:34 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-05-19 22:58:34 +0300 |
commit | 3d604ba867ed34b0e0ad7f58bcd2ffc482f8ada3 (patch) | |
tree | 42410a02430a8b31e4834abc4da0a9780260f1e5 | |
parent | 627f3571271e5f1a416314fb73f8e3c613271db3 (diff) |
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.
-rw-r--r-- | source/blender/nodes/geometry/nodes/node_geo_point_rotate.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_point_rotate.cc b/source/blender/nodes/geometry/nodes/node_geo_point_rotate.cc index 73d489949ad..490bd8890e3 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_point_rotate.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_point_rotate.cc @@ -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); } |