From 0493e77fa4957dd0104c3441953a632818909b05 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Fri, 3 Jun 2005 08:37:04 +0000 Subject: [PATCH] Using render option "Crop" with OpenGL render (button in 3d header) caused a struct Part to be allocated and not freed. --- source/blender/render/intern/source/initrender.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/blender/render/intern/source/initrender.c b/source/blender/render/intern/source/initrender.c index 23fbffa8861..4fd2d6104c9 100644 --- a/source/blender/render/intern/source/initrender.c +++ b/source/blender/render/intern/source/initrender.c @@ -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 */ 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 R.rectx= (R.r.size*R.r.xsch)/100;