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:
authorTon Roosendaal <ton@blender.org>2009-04-12 21:28:41 +0400
committerTon Roosendaal <ton@blender.org>2009-04-12 21:28:41 +0400
commit095fe990e8c818179a1c343892b0e81825ca7f09 (patch)
tree9981c48bf01168b439f67530222d1c1851d7f28a /source/blender/makesrna/intern/rna_image.c
parent5bdd541f0caf1a6c511a2e513e30be39955daccb (diff)
2.5
Patch provided by Thomas (DingTo). Fixes min/max limits in rna.
Diffstat (limited to 'source/blender/makesrna/intern/rna_image.c')
-rw-r--r--source/blender/makesrna/intern/rna_image.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_image.c b/source/blender/makesrna/intern/rna_image.c
index 2e8659fd881..a4a1636d212 100644
--- a/source/blender/makesrna/intern/rna_image.c
+++ b/source/blender/makesrna/intern/rna_image.c
@@ -158,12 +158,12 @@ static void rna_def_image(BlenderRNA *brna)
prop= RNA_def_property(srna, "generated_width", PROP_INT, PROP_NONE);
RNA_def_property_int_sdna(prop, NULL, "gen_x");
- RNA_def_property_range(prop, 1, 5000);
+ RNA_def_property_range(prop, 1, 16384);
RNA_def_property_ui_text(prop, "Generated Width", "Generated image width.");
prop= RNA_def_property(srna, "generated_height", PROP_INT, PROP_NONE);
RNA_def_property_int_sdna(prop, NULL, "gen_y");
- RNA_def_property_range(prop, 1, 5000);
+ RNA_def_property_range(prop, 1, 16384);
RNA_def_property_ui_text(prop, "Generated Height", "Generated image height.");
/* realtime properties */