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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user