Fix #120457: interpolating curves ignores cyclic attributes
`interpolate_curve_attributes()` did not transfer `cyclic` attribute to target curves. This fixes the the problem and allows Interpolate Curves node to interpolate cyclic curves and also work between a cyclic curve and a non-cyclic curve. Pull Request: https://projects.blender.org/blender/blender/pulls/120460
This commit is contained in:
@@ -470,7 +470,8 @@ static void interpolate_curve_attributes(bke::CurvesGeometry &child_curves,
|
||||
if (type == CD_PROP_STRING) {
|
||||
return true;
|
||||
}
|
||||
if (guide_curve_attributes.is_builtin(id) && !ELEM(id.name(), "radius", "tilt", "resolution"))
|
||||
if (guide_curve_attributes.is_builtin(id) &&
|
||||
!ELEM(id.name(), "radius", "tilt", "resolution", "cyclic"))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user