Fix: Curves last evaluated segment is empty
A mistake in 8538c69921
. The offsets include the segment at the
corresponding index, but the evaluated offset calculation was adjusting
the offset for the second to last segment.
This commit is contained in:
parent
5d7f4f2cab
commit
8146c996eb
|
@ -50,7 +50,6 @@ void calculate_evaluated_offsets(const Span<int8_t> handle_types_left,
|
|||
|
||||
if (cyclic) {
|
||||
offset += last_cylic_segment_is_vector(handle_types_left, handle_types_right) ? 1 : resolution;
|
||||
evaluated_offsets.last(1) = offset;
|
||||
}
|
||||
else {
|
||||
offset++;
|
||||
|
|
Loading…
Reference in New Issue