Fix T69651: Inpaint node distance parameter: Default value does not match minimum value

probably makes sense to allow for zero iterations...

Reviewers: jbakker

Maniphest Tasks: T69651

Differential Revision: https://developer.blender.org/D5728
This commit is contained in:
Philipp Oeser 2019-09-09 13:07:26 +02:00
parent b2b52c6c91
commit ef47c99fcb
Notes: blender-bot 2023-02-14 11:07:28 +01:00
Referenced by issue #69651, Inpaint node distance parameter: Default value does not match minimum value
1 changed files with 1 additions and 1 deletions

View File

@ -5729,7 +5729,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, 10000);
RNA_def_property_range(prop, 0, 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");
}