max value for distance was larger then a short.
authorCampbell Barton <ideasman42@gmail.com>
Sun, 29 Jul 2012 20:00:16 +0000 (20:00 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 29 Jul 2012 20:00:16 +0000 (20:00 +0000)
source/blender/makesrna/intern/rna_nodetree.c

index 30b7a4390258487c9563118528abaf01aa3257b9..4eb6bb8ab6e9739aa3df8fae5a28c8babd2eb05b 100644 (file)
@@ -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");
 }