diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2019-10-01 11:24:07 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2019-10-01 11:24:07 +0300 |
commit | 2746fbc93558f8296220d3d94d3db6957eb9f67d (patch) | |
tree | b3017b1909dfae6a7bb9e5785eab5613023e1420 /source/blender/makesrna | |
parent | b0e7108eda0081636e30de253562cdb372dc65e0 (diff) |
Fix T70397: Dilate/Erode 'distance' increment/decrement arrows not
working
Since rB78b56fa7d973 we always have to specify a valid step value.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_nodetree.c | 2 |
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 b9b7506cf42..48562cf2684 100644 --- a/source/blender/makesrna/intern/rna_nodetree.c +++ b/source/blender/makesrna/intern/rna_nodetree.c @@ -5719,7 +5719,7 @@ static void def_cmp_dilate_erode(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, -5000, 5000); - RNA_def_property_ui_range(prop, -100, 100, 0, -1); + RNA_def_property_ui_range(prop, -100, 100, 1, -1); RNA_def_property_ui_text(prop, "Distance", "Distance to grow/shrink (number of iterations)"); RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update"); |