diff options
author | Johnny Matthews <guitargeek> | 2021-07-05 20:27:12 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-07-05 20:27:12 +0300 |
commit | 29d6750134c4e42a2c5ff12040aa78f98720cf5c (patch) | |
tree | be2587a6133944a1d930789e6c71e624daf5dd16 /source/blender/blenkernel/intern/node.cc | |
parent | de70bcbb3684be446cf1106fd150d31d606ae415 (diff) |
Geometry Nodes: Curve Primitive Line
This node creates a poly spline line in one of 2 modes:
- Line between two points
- Start Point, Direction, and Length
Both modes create splines with only start and endpoints.
A resample node can be used afterward to increase the point count.
Differential Revision: https://developer.blender.org/D11769
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 3345aff5db4..f6105bac1a8 100644 --- a/source/blender/blenkernel/intern/node.cc +++ b/source/blender/blenkernel/intern/node.cc @@ -5056,6 +5056,7 @@ static void registerGeometryNodes() register_node_type_geo_curve_length(); register_node_type_geo_curve_primitive_bezier_segment(); register_node_type_geo_curve_primitive_circle(); + register_node_type_geo_curve_primitive_line(); register_node_type_geo_curve_primitive_quadratic_bezier(); register_node_type_geo_curve_primitive_spiral(); register_node_type_geo_curve_primitive_star(); |