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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user