Orange bug: forgot to restore inverse matrix calculus for OpengGL render

in a window... didn't know what it was for, but now I do! It uses the
inverse to do pre-clipping on objects.
This commit is contained in:
2006-01-24 17:07:39 +00:00
parent 26b718654d
commit 9a20e5466c
4 changed files with 28 additions and 21 deletions

View File

@@ -1051,6 +1051,7 @@ void BIF_do_ogl_render(View3D *v3d, int anim)
if(anim) {
bMovieHandle *mh= BKE_get_movie_handle(G.scene->r.imtype);
int cfrao= CFRA;
mh->start_movie(&G.scene->r, winx, winy);
@@ -1063,6 +1064,7 @@ void BIF_do_ogl_render(View3D *v3d, int anim)
if(test_break()) break;
}
mh->end_movie();
CFRA= cfrao;
}
else {
drawview3d_render(v3d, winx, winy);