Fix build error: Make CurveEval a struct

We need a pointer to this in DNA, which means it cannot be a class.
This commit is contained in:
Hans Goudey
2021-05-27 10:50:43 -04:00
parent e8ca635e43
commit a3edf4a381

View File

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