From 95ed34be4a6bf71e14740ed6232033443484dd86 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Mon, 5 May 2008 17:43:13 +0000 Subject: [PATCH] Fix for bug #10444: environment map crash with qmc. --- source/blender/render/intern/source/envmap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/blender/render/intern/source/envmap.c b/source/blender/render/intern/source/envmap.c index 26151ff8b91..12d0efa59e8 100644 --- a/source/blender/render/intern/source/envmap.c +++ b/source/blender/render/intern/source/envmap.c @@ -158,6 +158,7 @@ static Render *envmap_render_copy(Render *re, EnvMap *env) envre->totinstance= re->totinstance; envre->instancetable= re->instancetable; envre->objectinstance= re->objectinstance; + envre->qmcsamplers= re->qmcsamplers; return envre; } @@ -178,6 +179,7 @@ static void envmap_free_render_copy(Render *envre) envre->raytree= NULL; envre->instancetable.first= envre->instancetable.last= NULL; envre->objectinstance= NULL; + envre->qmcsamplers= NULL; RE_FreeRender(envre); }