456 |
|
fclose(viewfp); |
457 |
|
viewfp = NULL; |
458 |
|
viewnum = 0; |
459 |
< |
copystruct(&curview, &stdview); |
459 |
> |
curview = stdview; |
460 |
|
} |
461 |
|
return(NULL); |
462 |
|
} |
472 |
|
perror(vval(VIEWFILE)); |
473 |
|
quit(1); |
474 |
|
} |
475 |
< |
copystruct(&curview, &stdview); |
475 |
> |
curview = stdview; |
476 |
|
viewnum = 0; |
477 |
|
} |
478 |
|
if (n < 0) { /* get next view */ |
761 |
|
om->cprio = om->prio; |
762 |
|
} |
763 |
|
/* XXX bxfm relies on call order */ |
764 |
< |
if (framestep) |
764 |
> |
if (framestep) { |
765 |
|
if (invmat4(om->bxfm, om->cxfm)) |
766 |
|
multmat4(om->bxfm, om->bxfm, oxf.xfm); |
767 |
|
else |
768 |
|
setident4(om->bxfm); |
769 |
+ |
} |
770 |
|
/* all done */ |
771 |
|
return(xfp); |
772 |
|
} |