Commit: 9a4c54e8b0a3b6be8360042bc3a755b7adef20fd Author: Iliya Katueshenock Date: Thu Jan 26 13:01:03 2023 -0600 Branches: master https://developer.blender.org/rB9a4c54e8b0a3b6be8360042bc3a755b7adef20fd
Fix: Curve to Points node has wrong field interface status In 7536abbe16bd changes make possible to input field as Count field. But changes of declaration probably was forgotten. So now this input can take field and node will be work. But input link was red. This patch resolves this issue. Differential Revision: https://developer.blender.org/D17131 =================================================================== M source/blender/nodes/geometry/nodes/node_geo_curve_to_points.cc =================================================================== 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 ab7a9bef8db..f17c8044995 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 @@ -25,6 +25,7 @@ static void node_declare(NodeDeclarationBuilder &b) b.add_input<decl::Int>(N_("Count")) .default_value(10) .min(2) + .field_on_all() .max(100000) .make_available( [](bNode &node) { node_storage(node).mode = GEO_NODE_CURVE_RESAMPLE_COUNT; }); _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org List details, subscription details or unsubscribe: https://lists.blender.org/mailman/listinfo/bf-blender-cvs