Ortho type of camera is now also controlled by CAM_LENS ipo.

This commit is contained in:
Nathan Letwory
2007-05-02 16:45:13 +00:00
parent 98bdbab495
commit 180d58430b

View File

@@ -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: