Fix #137600: Curve to points node anonymous attribute outputs broken

Mistake in fe52284be9.
The attribute filter created by the geoemtry nodes evaluation system
doesn't work in this case because the the conversion from curves to
points is internal to the node, just an implementation detail.

Pull Request: https://projects.blender.org/blender/blender/pulls/137614
This commit is contained in:
Hans Goudey
2025-04-17 14:35:24 +02:00
committed by Hans Goudey
parent e4792cb4e7
commit 0852c7b5ee

View File

@@ -122,6 +122,9 @@ static PointCloud *pointcloud_from_curves(const bke::CurvesGeometry &curves,
MutableAttributeAccessor point_attributes = pointcloud->attributes_for_write();
const bke::AttributeFilterFromFunc filter = [&](const StringRef name) {
if (ELEM(name, tangent_id, normal_id, rotation_id)) {
return bke::AttributeFilter::Result::Process;
}
if (attribute_filter.allow_skip(name)) {
return bke::AttributeFilter::Result::AllowSkip;
}