From 20e68d848e7913237f4bf1c4c01d36ae4a7e3d88 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Fri, 25 Jun 2021 08:56:40 -0500 Subject: 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. --- source/blender/blenkernel/intern/spline_nurbs.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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_; } -- cgit v1.2.3