diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2007-05-02 20:45:13 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2007-05-02 20:45:13 +0400 |
commit | 180d58430b94b06767fdbc0bd5f3dce5a017e5db (patch) | |
tree | c5fee11aa831f1d8acd3176c4064aef589ced91a /source/blender/blenkernel | |
parent | 98bdbab495036cbd5b9a06d43b8ee40c80797c3c (diff) |
Ortho type of camera is now also controlled by CAM_LENS ipo.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/ipo.c | 6 |
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: |