Blender Git Loki

Git Commits -> Revision 21de669

Revision 21de669 by Hans Goudey (master)
June 2, 2021, 13:11 (GMT)
Splines: Function to copy spline settings without data

Often you need to copy a spline to do an operation, but don't want
to manually copy over all of the settings. I've already forgotten to
do it once anyway. These functions copy a spline's "settings" into a
new spline, but not the data. I tried to avoid duplicating any copying
so this is easier to extend in the future.

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

Commit Details:

Full Hash: 21de669141dc8cde86eb8edfb18ab614c2b3109e
Parent Commit: 5b176b6
Lines Changed: +38, -5

4 Modified Paths:

/source/blender/blenkernel/BKE_spline.hh (+13, -5) (Diff)
/source/blender/blenkernel/intern/spline_bezier.cc (+8, -0) (Diff)
/source/blender/blenkernel/intern/spline_nurbs.cc (+10, -0) (Diff)
/source/blender/blenkernel/intern/spline_poly.cc (+7, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021