Curves: Add simplify_curve_attribute function #118560

Merged
Falk David merged 17 commits from filedescriptor/blender:curves-resample-adaptive into main 2024-03-26 15:28:22 +01:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit ba0261deb2 - Show all commits

View File

@ -145,7 +145,7 @@ IndexMask simplify_curve_attribute(const Span<float3> positions,
std::is_same_v<T, float3>)
{
curve_simplifiy(points,
filedescriptor marked this conversation as resolved Outdated

It seems clearer to slice all the input data so it's all local to the curve in curve_simplifiy

It seems clearer to slice all the input data so it's all local to the curve in `curve_simplifiy`
positions.slice(points),
positions,
cyclic[curve_i],
epsilon,
attribute_data.typed<T>(),