diff options
author | Jacques Lucke <jacques@blender.org> | 2022-08-19 17:24:24 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2022-08-19 17:24:24 +0300 |
commit | 16084066009ed954761b7652edd926c00733a437 (patch) | |
tree | 3cf0a2c53525a7aca4eeddf9013de1fa27b99544 /source/blender/geometry/intern | |
parent | 188f7585a1838387c278780d743e5540a0c75a2c (diff) |
Fix: nurbs basis cache not computed before it is used
Diffstat (limited to 'source/blender/geometry/intern')
-rw-r--r-- | source/blender/geometry/intern/resample_curves.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/geometry/intern/resample_curves.cc b/source/blender/geometry/intern/resample_curves.cc index d61941aa071..cac6d69f58c 100644 --- a/source/blender/geometry/intern/resample_curves.cc +++ b/source/blender/geometry/intern/resample_curves.cc @@ -368,7 +368,7 @@ Curves *resample_to_evaluated(const CurveComponent &src_component, dst_curves.fill_curve_types(selection, CURVE_TYPE_POLY); MutableSpan<int> dst_offsets = dst_curves.offsets_for_write(); - src_curves.ensure_evaluated_offsets(); + src_curves.ensure_can_interpolate_to_evaluated(); threading::parallel_for(selection.index_range(), 4096, [&](IndexRange range) { for (const int i : selection.slice(range)) { dst_offsets[i] = src_curves.evaluated_points_for_curve(i).size(); |