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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-04-08 22:55:08 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-04-08 22:55:08 +0400
commit2b2099cd519d2723dd79af2e1d9035c7cbb12022 (patch)
treea12fa477bb34c227d9ea69811347f796927b48c7 /source/blender/makesrna/intern/rna_movieclip.c
parentd2b55d1171af787f603c6c14129224dc1c038e85 (diff)
Fix #34875: 0 digits of precision was not supported for FloatProperty, now
you can specify precision=0 for this, and use -1 for the default 2.
Diffstat (limited to 'source/blender/makesrna/intern/rna_movieclip.c')
-rw-r--r--source/blender/makesrna/intern/rna_movieclip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_movieclip.c b/source/blender/makesrna/intern/rna_movieclip.c
index bb5ff172672..e7a967084f3 100644
--- a/source/blender/makesrna/intern/rna_movieclip.c
+++ b/source/blender/makesrna/intern/rna_movieclip.c
@@ -189,7 +189,7 @@ static void rna_def_movieclip_proxy(BlenderRNA *brna)
RNA_def_property_int_sdna(prop, NULL, "quality");
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
RNA_def_property_ui_text(prop, "Quality", "JPEG quality of proxy images");
- RNA_def_property_ui_range(prop, 1, 100, 1, 0);
+ RNA_def_property_ui_range(prop, 1, 100, 1, -1);
prop = RNA_def_property(srna, "timecode", PROP_ENUM, PROP_NONE);
RNA_def_property_enum_sdna(prop, NULL, "tc");