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/BKE_node.h | |
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/BKE_node.h')
-rw-r--r-- | source/blender/blenkernel/BKE_node.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_node.h b/source/blender/blenkernel/BKE_node.h index 9401e6a9f02..dbb0786af9d 100644 --- a/source/blender/blenkernel/BKE_node.h +++ b/source/blender/blenkernel/BKE_node.h @@ -1435,6 +1435,7 @@ int ntreeTexExecTree(struct bNodeTree *ntree, #define GEO_NODE_SELECT_BY_MATERIAL 1055 #define GEO_NODE_CONVEX_HULL 1056 #define GEO_NODE_CURVE_TO_POINTS 1057 +#define GEO_NODE_CURVE_REVERSE 1058 /** \} */ |