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
path: root/source
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2009-12-22 11:05:19 +0300
committerDalai Felinto <dfelinto@gmail.com>2009-12-22 11:05:19 +0300
commitf4ce1bea0f015e0ec7a1cec696cf93cd9f1ff478 (patch)
tree00030ffbd26012af5cdcd688eed3ce57baab127e /source
parent9c22e846feba9b51ad2163a36906b0e503326476 (diff)
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.
Diffstat (limited to 'source')
-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 1715df1809a..e8538522d84 100644
--- a/source/blender/makesrna/intern/rna_camera.c
+++ b/source/blender/makesrna/intern/rna_camera.c
@@ -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");