increasing camera lens limit to 172.85 (same as 2.49xx)

It's not range_ui, but range itself. if someone think that for some reason it's better to keep the visible range up to 100 (the current one) it could be as well.
This commit is contained in:
Dalai Felinto
2009-12-22 08:05:19 +00:00
parent 9c22e846fe
commit f4ce1bea0f

View File

@@ -85,7 +85,7 @@ void RNA_def_camera(BlenderRNA *brna)
prop= RNA_def_property(srna, "angle", PROP_FLOAT, PROP_NONE);
RNA_def_property_float_sdna(prop, NULL, "angle");
RNA_def_property_range(prop, 0.0f, 100.0f);
RNA_def_property_range(prop, 0.0f, 172.85f);
RNA_def_property_ui_text(prop, "Angle", "Perspective Camera lend field of view in degrees.");
RNA_def_property_update(prop, NC_OBJECT|ND_DRAW, "rna_Camera_angle_update");