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

Mistake in fe52284be955ef5853ec6f1015c4825727c2aff0.
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 Thomas Dinges
parent 8fd51f4441
commit 1445c32d7d
@@ -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;
}