forked from bartvdbraak/blender
Using render option "Crop" with OpenGL render (button in 3d header)
caused a struct Part to be allocated and not freed.
This commit is contained in:
parent
7654d1a711
commit
0493e77fa4
@ -1408,7 +1408,8 @@ void RE_animrender(struct View3D *ogl_render_view3d)
|
|||||||
/* START ANIMLOOP, everywhere NOT the cfra from R.r is gebruikt: because of rest blender */
|
/* START ANIMLOOP, everywhere NOT the cfra from R.r is gebruikt: because of rest blender */
|
||||||
cfrao= (G.scene->r.cfra);
|
cfrao= (G.scene->r.cfra);
|
||||||
|
|
||||||
if(G.scene->r.scemode & R_OGL) R.r.mode &= ~R_PANORAMA;
|
/* disable options for ogl render */
|
||||||
|
if(G.scene->r.scemode & R_OGL) R.r.mode &= ~(R_PANORAMA|R_MOVIECROP);
|
||||||
|
|
||||||
// these calculations apply for all movie formats
|
// these calculations apply for all movie formats
|
||||||
R.rectx= (R.r.size*R.r.xsch)/100;
|
R.rectx= (R.r.size*R.r.xsch)/100;
|
||||||
|
Loading…
Reference in New Issue
Block a user