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:
authorCampbell Barton <ideasman42@gmail.com>2011-02-21 04:02:30 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-02-21 04:02:30 +0300
commit7809d7d0c8cde22ec39e0b00e20742393a18c019 (patch)
tree67a6b09d144b663ea1227d6ff7f7956fe1cdd1f5 /source/blender/makesrna/intern/rna_scene.c
parent958b5c1d8da55bba52317bb0143b159629548829 (diff)
fix [#26152] Blender File for Image too Small
disallow 0% rendersize. also mark new cmake vars as advanced: RPMBUILD, X11_XF86keysym_INCLUDE_PATH
Diffstat (limited to 'source/blender/makesrna/intern/rna_scene.c')
-rw-r--r--source/blender/makesrna/intern/rna_scene.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c
index e7eef76cb11..db8f1d7d527 100644
--- a/source/blender/makesrna/intern/rna_scene.c
+++ b/source/blender/makesrna/intern/rna_scene.c
@@ -2146,6 +2146,7 @@ static void rna_def_scene_render_data(BlenderRNA *brna)
prop= RNA_def_property(srna, "resolution_percentage", PROP_INT, PROP_PERCENTAGE);
RNA_def_property_int_sdna(prop, NULL, "size");
+ RNA_def_property_range(prop, 1, INT_MAX);
RNA_def_property_ui_range(prop, 1, 100, 10, 1);
RNA_def_property_ui_text(prop, "Resolution %", "Percentage scale for render resolution");
RNA_def_property_update(prop, NC_SCENE|ND_RENDER_OPTIONS, NULL);