Fix T89430: Realizing NURBS curve instances is broken

The "copy_data" function for nurbs splines was incorrect,
it always set the destination's knots vector as "not dirty,"
even if the source's was.
This commit is contained in:
Hans Goudey 2021-06-25 08:56:40 -05:00
parent 5ec6c8d267
commit 20e68d848e
Notes: blender-bot 2023-02-14 08:29:54 +01:00
Referenced by issue #89430, Instanced curves arent realised after point instance
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ void NURBSpline::copy_data(Spline &dst) const
nurbs.positions_ = positions_;
nurbs.weights_ = weights_;
nurbs.knots_ = knots_;
nurbs.knots_dirty_ = false;
nurbs.knots_dirty_ = knots_dirty_;
nurbs.radii_ = radii_;
nurbs.tilts_ = tilts_;
}