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:
authorNathan Letwory <nathan@letworyinteractive.com>2007-05-02 20:45:13 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2007-05-02 20:45:13 +0400
commit180d58430b94b06767fdbc0bd5f3dce5a017e5db (patch)
treec5fee11aa831f1d8acd3176c4064aef589ced91a /source
parent98bdbab495036cbd5b9a06d43b8ee40c80797c3c (diff)
Ortho type of camera is now also controlled by CAM_LENS ipo.
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/ipo.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/ipo.c b/source/blender/blenkernel/intern/ipo.c
index 1757317b849..08924ac96d5 100644
--- a/source/blender/blenkernel/intern/ipo.c
+++ b/source/blender/blenkernel/intern/ipo.c
@@ -1481,7 +1481,11 @@ void *get_ipo_poin(ID *id, IpoCurve *icu, int *type)
/* yafray: aperture & focal distance params */
switch(icu->adrcode) {
case CAM_LENS:
- poin= &(ca->lens); break;
+ if(ca->type==CAM_ORTHO)
+ poin= &(ca->ortho_scale);
+ else
+ poin= &(ca->lens);
+ break;
case CAM_STA:
poin= &(ca->clipsta); break;
case CAM_END: