Page Menu
Home
Search
Configure Global Search
Log In
Paste
P2945
(An Untitled Masterwork)
Active
Public
Actions
Authored by
Iliya Katueshenock (Moder)
on May 15 2022, 1:37 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Tags
None
Subscribers
None
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
);
});
Event Timeline
Iliya Katueshenock (Moder)
created this paste.
May 15 2022, 1:37 PM
Iliya Katueshenock (Moder)
mentioned this in
D13952: Geometry Nodes: Add Smooth Attribute node
.
May 15 2022, 1:40 PM
Log In to Comment