diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2010-03-25 21:59:50 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2010-03-25 21:59:50 +0300 |
commit | aa3428e6abbf3ef453757b4909ad10bb52b9a418 (patch) | |
tree | f520a6f8248fc9684f34aa38b3082b2e75ea459e /source | |
parent | 66efe00d4d3f993e12a4188b2e1d622ea1231e74 (diff) |
Fix #21764: bezier curve render resolution slider min value 1
Render resolution set to 0 is correct in both of U and V cases
(if render resolution is set to 0 values from resolution_* will
be used while rendering)
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/makesrna/intern/rna_curve.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_curve.c b/source/blender/makesrna/intern/rna_curve.c index 798c29074ad..39ca6351543 100644 --- a/source/blender/makesrna/intern/rna_curve.c +++ b/source/blender/makesrna/intern/rna_curve.c @@ -1016,12 +1016,12 @@ static void rna_def_curve(BlenderRNA *brna) prop= RNA_def_property(srna, "render_resolution_u", PROP_INT, PROP_NONE); RNA_def_property_int_sdna(prop, NULL, "resolu_ren"); RNA_def_property_range(prop, 0, INT_MAX); - RNA_def_property_ui_range(prop, 1, 64, 1, 0); + RNA_def_property_ui_range(prop, 0, 64, 1, 0); RNA_def_property_ui_text(prop, "Render Resolution U", "Surface resolution in U direction used while rendering. Zero skips this property"); prop= RNA_def_property(srna, "render_resolution_v", PROP_INT, PROP_NONE); RNA_def_property_int_sdna(prop, NULL, "resolv_ren"); - RNA_def_property_ui_range(prop, 1, 64, 1, 0); + RNA_def_property_ui_range(prop, 0, 64, 1, 0); RNA_def_property_range(prop, 0, INT_MAX); RNA_def_property_ui_text(prop, "Render Resolution V", "Surface resolution in V direction used while rendering. Zero skips this property"); |