Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2021-05-27 17:50:43 +0300
committerHans Goudey <h.goudey@me.com>2021-05-27 17:50:43 +0300
commita3edf4a3814dfc1d18282298c49979d19ea2bcd0 (patch)
tree04663143743cf1f3be6742c6d7c4248cbb0d83d4 /source/blender/blenkernel/BKE_spline.hh
parente8ca635e43f0b642361c898797c3a3ab3f7dc27e (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/blenkernel/BKE_spline.hh')
-rw-r--r--source/blender/blenkernel/BKE_spline.hh2
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_;