Fix #22794: problem with rendering panorama in 2.4 created files.

This commit is contained in:
Brecht Van Lommel
2010-07-09 19:20:57 +00:00
parent ba0bad935c
commit 0d9a81a111

View File

@@ -2755,7 +2755,7 @@ void object_camera_matrix(
float pixsize;
float shiftx=0.0, shifty=0.0, winside, viewfac;
rd->mode &= ~R_ORTHO;
rd->mode &= ~(R_ORTHO|R_PANORAMA);
/* question mark */
(*ycor)= rd->yasp / rd->xasp;