Geometry Nodes: Copy spline attributes in the curve resample node

Previously only point domain attributes were copied to the result curve.
This commit is contained in:
2021-06-09 15:54:26 -05:00
parent 5f19646d7e
commit 93fd07e19c
3 changed files with 12 additions and 1 deletions

View File

@@ -153,7 +153,7 @@ static std::unique_ptr<CurveEval> resample_curve(const CurveEval &input_curve,
}
}
output_curve->attributes.reallocate(output_curve->splines().size());
output_curve->attributes = input_curve.attributes;
return output_curve;
}