diff options
author | Hans Goudey <h.goudey@me.com> | 2021-06-25 16:56:40 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-06-25 16:56:40 +0300 |
commit | 20e68d848e7913237f4bf1c4c01d36ae4a7e3d88 (patch) | |
tree | 2f968d9a31ba2cbecfba21804383d5c4ddee89cf /source/blender/blenkernel | |
parent | 5ec6c8d267c51f7f6d732acd2c08a72fa329e960 (diff) |
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.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/spline_nurbs.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/spline_nurbs.cc b/source/blender/blenkernel/intern/spline_nurbs.cc index 85fb9730e83..76d046337c0 100644 --- a/source/blender/blenkernel/intern/spline_nurbs.cc +++ b/source/blender/blenkernel/intern/spline_nurbs.cc @@ -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_; } |