diff options
author | Hans Goudey <h.goudey@me.com> | 2021-08-02 21:21:19 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-08-02 21:21:19 +0300 |
commit | 4f6f445120bb534a36e2ee5ddd89be6793a4c35d (patch) | |
tree | 28b22fa5fc1f72f5474ac47ab210761f9f576d25 /source/blender/blenkernel/BKE_spline.hh | |
parent | 8b93265c19feeed2b758046359ac102a1f21278a (diff) |
Cleanup: Make spline settings copy function public
It will be useful in the spline type conversion node. Theoretically it
could become protected again if that conversion moves out of a node,
which might be a nice improvement after an initial version.
Diffstat (limited to 'source/blender/blenkernel/BKE_spline.hh')
-rw-r--r-- | source/blender/blenkernel/BKE_spline.hh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_spline.hh b/source/blender/blenkernel/BKE_spline.hh index 53485ecbd6b..fc145f1ddf1 100644 --- a/source/blender/blenkernel/BKE_spline.hh +++ b/source/blender/blenkernel/BKE_spline.hh @@ -109,6 +109,7 @@ class Spline { SplinePtr copy() const; SplinePtr copy_only_settings() const; SplinePtr copy_without_attributes() const; + static void copy_base_settings(const Spline &src, Spline &dst); Spline::Type type() const; @@ -209,8 +210,6 @@ class Spline { virtual void correct_end_tangents() const = 0; virtual void copy_settings(Spline &dst) const = 0; virtual void copy_data(Spline &dst) const = 0; - - static void copy_base_settings(const Spline &src, Spline &dst); }; /** |