Fix: Kuwahara Size can be negative

The Kuwahara node allows negative size which this should not be the
case.
This commit is contained in:
Omar Emara
2025-07-08 12:45:28 +03:00
parent 75333e0ea5
commit 1dbeeacc80

View File

@@ -40,6 +40,7 @@ static void cmp_node_kuwahara_declare(NodeDeclarationBuilder &b)
.compositor_domain_priority(0);
b.add_input<decl::Float>("Size")
.default_value(6.0f)
.min(0.0f)
.description("The size of the filter in pixels")
.compositor_domain_priority(1);
b.add_input<decl::Int>("Uniformity")