diff options
author | Hans Goudey <h.goudey@me.com> | 2021-05-27 17:50:43 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-05-27 17:50:43 +0300 |
commit | a3edf4a3814dfc1d18282298c49979d19ea2bcd0 (patch) | |
tree | 04663143743cf1f3be6742c6d7c4248cbb0d83d4 /source/blender | |
parent | e8ca635e43f0b642361c898797c3a3ab3f7dc27e (diff) |
Fix build error: Make CurveEval a struct
We need a pointer to this in DNA, which means it cannot be a class.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/BKE_spline.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_spline.hh b/source/blender/blenkernel/BKE_spline.hh index 8d679a445b7..ef76c699cbb 100644 --- a/source/blender/blenkernel/BKE_spline.hh +++ b/source/blender/blenkernel/BKE_spline.hh @@ -483,7 +483,7 @@ class PolySpline final : public Spline { * A #CurveEval corresponds to the #Curve object data. The name is different for clarity, since * more of the data is stored in the splines, but also just to be different than the name in DNA. */ -class CurveEval { +struct CurveEval { private: blender::Vector<SplinePtr> splines_; |