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?
This commit is contained in:
Sergey Sharybin 2016-03-11 21:46:40 +05:00
parent 6b91fb706d
commit 7d82de9e84

@ -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)");