forked from bartvdbraak/blender
Fix T48508: Cycles Regression / Crash
This commit is contained in:
parent
2e190abf70
commit
42b26206c6
@ -126,8 +126,6 @@ ccl_device_inline bool shadow_blocked(KernelGlobals *kg, ShaderData *shadow_sd,
|
|||||||
/* stop if all light is blocked */
|
/* stop if all light is blocked */
|
||||||
if(is_zero(throughput)) {
|
if(is_zero(throughput)) {
|
||||||
/* free dynamic storage */
|
/* free dynamic storage */
|
||||||
if(hits != hits_stack)
|
|
||||||
free(hits);
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user