diff options
author | Hans Goudey <h.goudey@me.com> | 2022-03-01 20:06:11 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-03-01 20:06:29 +0300 |
commit | 444d57d440459304a248ba75e1936b69be4d09dd (patch) | |
tree | a46df9fb2ac5e4a428f98202c50181f3958716cc /source/blender/editors/include/ED_curves.h | |
parent | 89bf5d8ba98f4236f97777d14d3a6029f0471e42 (diff) |
Geometry Nodes: Port most curve primitives to new data-block
Create `Curves` directly, instead of using the conversion from
`CurveEval`. This means that the `tilt` and `radius` attributes
don't need to be allocated. The old behavior is kept by using the
right defaults in the conversion to `CurveEval` later on.
The Bezier segment primitive isn't ported yet, because functions
to provide easy access to built-in attributes used for Bezier curves
haven't been added yet.
Differential Revision: https://developer.blender.org/D14212
Diffstat (limited to 'source/blender/editors/include/ED_curves.h')
-rw-r--r-- | source/blender/editors/include/ED_curves.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/include/ED_curves.h b/source/blender/editors/include/ED_curves.h index 706563061d4..9233b65b2ce 100644 --- a/source/blender/editors/include/ED_curves.h +++ b/source/blender/editors/include/ED_curves.h @@ -25,4 +25,4 @@ namespace blender::ed::curves { bke::CurvesGeometry primitive_random_sphere(int curves_size, int points_per_curve); } -#endif
\ No newline at end of file +#endif |