Increasing dilate erode number of steps.
authorMonique Dewanchand <m.dewanchand@atmind.nl>
Fri, 25 Jan 2013 09:57:17 +0000 (09:57 +0000)
committerMonique Dewanchand <m.dewanchand@atmind.nl>
Fri, 25 Jan 2013 09:57:17 +0000 (09:57 +0000)
source/blender/makesrna/intern/rna_nodetree.c

index eecdf13813c6e8a08f6e66cb9d53d1eac00246aa..fe5b6e15f4467005abde50c2829a999db047853c 100644 (file)
@@ -2537,7 +2537,8 @@ 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, -100, 100);
+       RNA_def_property_range(prop, -5000, 5000);
+       RNA_def_property_ui_range(prop, -100, 100, 0, 0);
        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");