Fix: Curve to Points node has wrong field interface status
In 7536abbe16
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
This commit is contained in:
parent
d6c9cd445c
commit
9a4c54e8b0
|
@ -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; });
|
||||
|
|
Loading…
Reference in New Issue