max value for distance was larger then a short.

This commit is contained in:
Campbell Barton
2012-07-29 20:00:16 +00:00
parent 4b4395213e
commit 24dae0f0e8

View File

@@ -2135,7 +2135,7 @@ static void def_cmp_inpaint(StructRNA *srna)
prop = RNA_def_property(srna, "distance", PROP_INT, PROP_NONE);
RNA_def_property_int_sdna(prop, NULL, "custom2");
RNA_def_property_range(prop, 1, 100000);
RNA_def_property_range(prop, 1, 10000);
RNA_def_property_ui_text(prop, "Distance", "Distance to inpaint (number of iterations)");
RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update");
}