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:
authorSergey Sharybin <sergey.vfx@gmail.com>2016-03-11 19:46:40 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-03-12 13:01:20 +0300
commit7d82de9e849e66e0e3f85445beb61fae1eecbcce (patch)
tree5a11b3d18ce81831dfa7c1085118bb26a3e5d8bd /source/blender/makesrna/intern/rna_camera.c
parent6b91fb706d60033af9d2a1b09015d99ffc7e3bbc (diff)
Fix bad UI range of convergence distance which was above the hard limit
That was rather confusing to slide the value. Perhaps makesrna can check cases like this?
Diffstat (limited to 'source/blender/makesrna/intern/rna_camera.c')
-rw-r--r--source/blender/makesrna/intern/rna_camera.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_camera.c b/source/blender/makesrna/intern/rna_camera.c
index e3f27625356..d5044ec9838 100644
--- a/source/blender/makesrna/intern/rna_camera.c
+++ b/source/blender/makesrna/intern/rna_camera.c
@@ -139,7 +139,7 @@ static void rna_def_camera_stereo_data(BlenderRNA *brna)
prop = RNA_def_property(srna, "convergence_distance", PROP_FLOAT, PROP_DISTANCE);
RNA_def_property_range(prop, 0.00001f, FLT_MAX);
- RNA_def_property_ui_range(prop, 0.0f, 15.f, 1, 2);
+ RNA_def_property_ui_range(prop, 0.00001f, 15.f, 1, 2);
RNA_def_property_ui_text(prop, "Convergence Plane Distance",
"The converge point for the stereo cameras "
"(often the distance between a projector and the projection screen)");