Commit: a3edf4a3814dfc1d18282298c49979d19ea2bcd0
Author: Hans Goudey
Date:   Thu May 27 10:50:43 2021 -0400
Branches: master
https://developer.blender.org/rBa3edf4a3814dfc1d18282298c49979d19ea2bcd0

Fix build error: Make CurveEval a struct

We need a pointer to this in DNA, which means it cannot be a class.

===================================================================

M       source/blender/blenkernel/BKE_spline.hh

===================================================================

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_;

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to