Page MenuHome
Paste P2945

(An Untitled Masterwork)
ActivePublic

Authored by Iliya Katueshenock (Moder) on May 15 2022, 1:37 PM.
threading::parallel_for_each(curves_range, [&](const int index) {
const IndexRange points = curves->points_for_curve(index);
if (points.size() <= 1) {
if (points.size() == 1) {
output_splines[points[0]] = src_values[points[0]];
}
return;
}
const bool is_cycles = cyclic[index];
attribute_smooth_loop(points,
src_selection_mask,
src_factor,
src_values,
output_splines.as_mutable_span(),
src_count.size() != 0 ? src_count[0] : 0,
is_cycles);
});