max value for distance was larger then a short.
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user