--- ray/src/rt/rv2.c 1990/01/08 13:38:05 1.14 +++ ray/src/rt/rv2.c 1990/01/19 00:00:29 1.17 @@ -137,9 +137,9 @@ char *s; VIEW nv; if (sscanf(s, "%s", buf) == 1) { /* get parameters from a file */ - copyview(&nv, &stdview); + copystruct(&nv, &stdview); if ((fname = getpath(buf, NULL, 0)) == NULL || - (success = viewfile(fname, &nv)) == -1) { + (success = viewfile(fname, &nv, 0, 0)) == -1) { sprintf(errmsg, "cannot open \"%s\"", buf); error(COMMAND, errmsg); return; @@ -154,9 +154,9 @@ char *s; error(COMMAND, "no previous view"); return; } - copyview(&nv, &ourview); - copyview(&ourview, &oldview); - copyview(&oldview, &nv); + copystruct(&nv, &ourview); + copystruct(&ourview, &oldview); + copystruct(&oldview, &nv); newimage(); } @@ -607,6 +607,8 @@ char *s; putc('\n', fp); if (exposure != 1.0) fputexpos(exposure, fp); + if (dev->pixaspect != 1.0) + fputaspect(dev->pixaspect, fp); putc('\n', fp); fputresolu(YMAJOR|YDECR, hresolu, vresolu, fp);