diff options
author | Johnny Matthews <guitargeek> | 2021-06-14 21:28:38 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-06-14 21:28:38 +0300 |
commit | 4a540b9b48cfd8cbb058dfd2eb86d7bcbe5a3b65 (patch) | |
tree | 00209e4e886af526bd1b5e5e78ae8908044c269a /source/blender/blenkernel/intern/node.cc | |
parent | fcbb20286a3163d1d6669502375aa3f096e9547a (diff) |
Geometry Nodes: Curve Reverse Node
This is an implementation of T88722. It accepts a curve object and
for each spline, reverses the order of the points and all attributes.
This is more of a foundational node to support other nodes in the
future (like curve deform)
Selection takes spline domain attributes to determine which splines
are selected. If no selection is present all splines are reversed.
Differential Revision: https://developer.blender.org/D11538
Diffstat (limited to 'source/blender/blenkernel/intern/node.cc')
-rw-r--r-- | source/blender/blenkernel/intern/node.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/node.cc b/source/blender/blenkernel/intern/node.cc index 06d70869386..c247b808a4a 100644 --- a/source/blender/blenkernel/intern/node.cc +++ b/source/blender/blenkernel/intern/node.cc @@ -5057,6 +5057,7 @@ static void registerGeometryNodes() register_node_type_geo_curve_to_mesh(); register_node_type_geo_curve_to_points(); register_node_type_geo_curve_resample(); + register_node_type_geo_curve_reverse(); register_node_type_geo_delete_geometry(); register_node_type_geo_edge_split(); register_node_type_geo_input_material(); |