Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2021-06-25 16:56:40 +0300
committerHans Goudey <h.goudey@me.com>2021-06-25 16:56:40 +0300
commit20e68d848e7913237f4bf1c4c01d36ae4a7e3d88 (patch)
tree2f968d9a31ba2cbecfba21804383d5c4ddee89cf /source
parent5ec6c8d267c51f7f6d732acd2c08a72fa329e960 (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')
-rw-r--r--source/blender/blenkernel/intern/spline_nurbs.cc2
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_;
}