Blender Git Loki

Git Commits -> Revision 60c59d7

Revision 60c59d7 by Hans Goudey (master)
December 22, 2021, 23:39 (GMT)
Cleanup: Remove spline add_point method, refactor mesh to curve node

It's better to calculate the size of a spline before creating it, and this
should simplify refactoring to a data structure that stores all point
attribute contiguously (see T94193). The mesh to curve conversion is
simplified slightly now, it creates the curve output after gathering all
of the result vertex indices. This should be more efficient too, since
it only grows an index vector for each spline, not a whole spline.

Commit Details:

Full Hash: 60c59d7d611dfd72652d9f7ffef519f983703349
Parent Commit: c593db5
Lines Changed: +67, -106

6 Modified Paths:

/source/blender/blenkernel/BKE_spline.hh (+0, -24) (Diff)
/source/blender/blenkernel/intern/curve_to_mesh_convert.cc (+4, -1) (Diff)
/source/blender/blenkernel/intern/spline_bezier.cc (+0, -18) (Diff)
/source/blender/blenkernel/intern/spline_nurbs.cc (+0, -13) (Diff)
/source/blender/blenkernel/intern/spline_poly.cc (+0, -8) (Diff)
/source/blender/geometry/intern/mesh_to_curve_convert.cc (+63, -42) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021