forked from bartvdbraak/blender
Fix for bug #10444: environment map crash with qmc.
This commit is contained in:
parent
d5ffcda5dc
commit
95ed34be4a
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user