[Bf-blender-cvs] [3d604ba867e] master: Geometry Nodes: Execute point rotate node on curve component

Hans Goudey noreply at git.blender.org
Wed May 19 21:58:40 CEST 2021


Commit: 3d604ba867ed34b0e0ad7f58bcd2ffc482f8ada3
Author: Hans Goudey
Date:   Wed May 19 15:58:34 2021 -0400
Branches: master
https://developer.blender.org/rB3d604ba867ed34b0e0ad7f58bcd2ffc482f8ada3

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.

===================================================================

M	source/blender/nodes/geometry/nodes/node_geo_point_rotate.cc

===================================================================

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



More information about the Bf-blender-cvs mailing list