From 1445c32d7d59c18e6f39a6c630a44478bf2d6885 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Thu, 17 Apr 2025 14:35:24 +0200 Subject: [PATCH] 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 --- .../blender/nodes/geometry/nodes/node_geo_curve_to_points.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/blender/nodes/geometry/nodes/node_geo_curve_to_points.cc b/source/blender/nodes/geometry/nodes/node_geo_curve_to_points.cc index 77a3432fc8f..8b357887120 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_curve_to_points.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_curve_to_points.cc @@ -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; }