diff options
author | Johnny Matthews <johnny.matthews@gmail.com> | 2022-10-03 23:50:21 +0300 |
---|---|---|
committer | Johnny Matthews <johnny.matthews@gmail.com> | 2022-10-03 23:50:21 +0300 |
commit | 748fda32ede88887e1baeccca5c119326e031dd6 (patch) | |
tree | 652739a7349b1ca901cb2dad8b049014e0e99b6c /source/blender/blenkernel | |
parent | b475506cfbd35fe2d356ce43a6a3e1f93bd6602b (diff) |
Geometry Nodes: Set Curve Normal
This node allows for curves to have their evaluated normal mode changed
between MINIMUM_TWIST and Z_UP. A selection input allows for choosing
which spline in the curves object will be affected.
Differential Revision: D16118
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/BKE_node.h | 1 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/node.cc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_node.h b/source/blender/blenkernel/BKE_node.h index 658b6daa88c..43eeaed4b04 100644 --- a/source/blender/blenkernel/BKE_node.h +++ b/source/blender/blenkernel/BKE_node.h @@ -1542,6 +1542,7 @@ struct TexResult; #define GEO_NODE_MESH_TOPOLOGY_FACE_OF_CORNER 1185 #define GEO_NODE_MESH_TOPOLOGY_VERTEX_OF_CORNER 1186 #define GEO_NODE_SAMPLE_UV_SURFACE 1187 +#define GEO_NODE_SET_CURVE_NORMAL 1188 /** \} */ diff --git a/source/blender/blenkernel/intern/node.cc b/source/blender/blenkernel/intern/node.cc index d7f4ec740b3..47e9ecfb7bd 100644 --- a/source/blender/blenkernel/intern/node.cc +++ b/source/blender/blenkernel/intern/node.cc @@ -4820,6 +4820,7 @@ static void registerGeometryNodes() register_node_type_geo_separate_geometry(); register_node_type_geo_self_object(); register_node_type_geo_set_curve_handles(); + register_node_type_geo_set_curve_normal(); register_node_type_geo_set_curve_radius(); register_node_type_geo_set_curve_tilt(); register_node_type_geo_set_id(); |