Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Oeser <info@graphics-engineer.com>2019-09-09 14:07:26 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2019-09-10 14:35:49 +0300
commitef47c99fcb9e4f34e9506903c1eee699ab279b66 (patch)
tree8f5b0145a4cf39c2edf880811dd7364fe7a2610c /source/blender/makesrna/intern/rna_nodetree.c
parentb2b52c6c91902c75a994c54ff37f767b93c85478 (diff)
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
Diffstat (limited to 'source/blender/makesrna/intern/rna_nodetree.c')
-rw-r--r--source/blender/makesrna/intern/rna_nodetree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_nodetree.c b/source/blender/makesrna/intern/rna_nodetree.c
index a6481341868..c2c937a75f8 100644
--- a/source/blender/makesrna/intern/rna_nodetree.c
+++ b/source/blender/makesrna/intern/rna_nodetree.c
@@ -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");
}