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:
authorTon Roosendaal <ton@blender.org>2007-03-23 16:12:11 +0300
committerTon Roosendaal <ton@blender.org>2007-03-23 16:12:11 +0300
commitbc31d61c3b1817916a77d7b0244de3f1973388e9 (patch)
tree1b7362e0dabf242164d5dd64710e81d71898bd06 /source/blender/makesdna/DNA_camera_types.h
parentc448d2d3a57ed22ddf60fdbca61f3ac6969eabce (diff)
patch 5341 by Juho
This adds option to show camera angle instead of camera lens value. (Complete revised patch...)
Diffstat (limited to 'source/blender/makesdna/DNA_camera_types.h')
-rw-r--r--source/blender/makesdna/DNA_camera_types.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_camera_types.h b/source/blender/makesdna/DNA_camera_types.h
index 8bf9d951f80..f25d8fd6412 100644
--- a/source/blender/makesdna/DNA_camera_types.h
+++ b/source/blender/makesdna/DNA_camera_types.h
@@ -47,7 +47,7 @@ typedef struct Camera {
ID id;
short type, flag;
- float passepartalpha, pad1;
+ float passepartalpha, angle;
float clipsta, clipend;
float lens, ortho_scale, drawsize;
float shiftx, shifty;
@@ -76,6 +76,7 @@ typedef struct Camera {
#define CAM_SHOWPASSEPARTOUT 4
#define CAM_SHOWTITLESAFE 8
#define CAM_SHOWNAME 16
+#define CAM_ANGLETOGGLE 32
/* yafray: dof sampling switch */
#define CAM_YF_NO_QMC 512
@@ -86,4 +87,3 @@ typedef struct Camera {
#endif
#endif
-