[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [49370] branches/soc-2011-tomato/source/ blender/makesrna/intern/rna_nodetree.c: max value for distance was larger then a short.

Campbell Barton ideasman42 at gmail.com
Sun Jul 29 22:00:17 CEST 2012


Revision: 49370
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=49370
Author:   campbellbarton
Date:     2012-07-29 20:00:16 +0000 (Sun, 29 Jul 2012)
Log Message:
-----------
max value for distance was larger then a short.

Modified Paths:
--------------
    branches/soc-2011-tomato/source/blender/makesrna/intern/rna_nodetree.c

Modified: branches/soc-2011-tomato/source/blender/makesrna/intern/rna_nodetree.c
===================================================================
--- branches/soc-2011-tomato/source/blender/makesrna/intern/rna_nodetree.c	2012-07-29 19:59:58 UTC (rev 49369)
+++ branches/soc-2011-tomato/source/blender/makesrna/intern/rna_nodetree.c	2012-07-29 20:00:16 UTC (rev 49370)
@@ -2135,7 +2135,7 @@
 	
 	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");
 }




More information about the Bf-blender-cvs mailing list