Fix #140040: Curve to Points length input should be a field
This commit changes the length input of the Curve to Points node to be a field input, allowing users to more easily set a seperate length per curve. Pull Request: https://projects.blender.org/blender/blender/pulls/140048
This commit is contained in:
@@ -41,6 +41,7 @@ static void node_declare(NodeDeclarationBuilder &b)
|
||||
.default_value(0.1f)
|
||||
.min(0.001f)
|
||||
.subtype(PROP_DISTANCE)
|
||||
.field_on_all()
|
||||
.make_available([](bNode &node) {
|
||||
node_storage(node).mode = GEO_NODE_CURVE_RESAMPLE_LENGTH;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user