Fix: Missing min value for set spline resolution node

This commit is contained in:
Hans Goudey 2021-11-29 09:11:51 -05:00
parent e5e8db73df
commit f9add2d63e
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ static void node_declare(NodeDeclarationBuilder &b)
{
b.add_input<decl::Geometry>(N_("Geometry")).supported_type(GEO_COMPONENT_TYPE_CURVE);
b.add_input<decl::Bool>(N_("Selection")).default_value(true).hide_value().supports_field();
b.add_input<decl::Int>(N_("Resolution")).default_value(12).supports_field();
b.add_input<decl::Int>(N_("Resolution")).min(1).default_value(12).supports_field();
b.add_output<decl::Geometry>(N_("Geometry"));
}