diff options
author | Hans Goudey <h.goudey@me.com> | 2022-03-29 22:39:18 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-03-29 22:39:18 +0300 |
commit | ac9ddf54a0bb80d338672cb05df8b6d7f284b026 (patch) | |
tree | 7fd95c6dc35f639c74d4b2099f960d28072643f8 /source | |
parent | ac40d40cb7fdc06871cdcfe0c758c40caff41414 (diff) |
Fix: incorrect assert in new code
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/curve_bezier.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/curve_bezier.cc b/source/blender/blenkernel/intern/curve_bezier.cc index b11216983b2..c861a09d492 100644 --- a/source/blender/blenkernel/intern/curve_bezier.cc +++ b/source/blender/blenkernel/intern/curve_bezier.cc @@ -150,7 +150,7 @@ static void interpolate_to_evaluated(const Span<T> src, MutableSpan<T> dst) { BLI_assert(!src.is_empty()); - BLI_assert(dst.size() == src.size()); + BLI_assert(evaluated_offsets.size() == src.size()); BLI_assert(evaluated_offsets.last() == dst.size()); linear_interpolation(src.first(), src[1], dst.take_front(evaluated_offsets.first())); |