Blender Git Loki

Git Commits -> Revision 0f45576

Revision 0f45576 by Johnny Matthews (master)
August 4, 2021, 03:14 (GMT)
Geometry Nodes: Curve Set Spline Type

This node sets the selected (or all) splines in curve to a chosen target
spline type. Poly, Bezier, and NURB splines can be converted to any of
the other types. This is meant to be a building block node, useful in
many procedural situations.

In the future the node could be optimized with multi-threading, or by
avoiding copying in many cases, either by retrieving the curve for write
access or by passing the raw vectors to the new splines where possible.

With edits from Hans Goudey (@HooglyBoogly)

Differential Revision: https://developer.blender.org/D12013

Commit Details:

Full Hash: 0f455765907528ea9d6c15e9d224d81d507e51ad
Parent Commit: 26f1a5e
Committed By: Hans Goudey
Lines Changed: +341, -0

1 Added Path:

/source/blender/nodes/geometry/nodes/node_geo_curve_spline_type.cc (+307, -0) (View)

8 Modified Paths:

/release/scripts/startup/nodeitems_builtins.py (+1, -0) (Diff)
/source/blender/blenkernel/BKE_node.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/node.cc (+1, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+11, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+17, -0) (Diff)
/source/blender/nodes/CMakeLists.txt (+1, -0) (Diff)
/source/blender/nodes/NOD_geometry.h (+1, -0) (Diff)
/source/blender/nodes/NOD_static_types.h (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021