diff options
author | Brecht Van Lommel <brecht@blender.org> | 2021-12-01 22:52:31 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2021-12-01 22:52:31 +0300 |
commit | 8ca838069943d0de559cfb40762dbc9d4ad0b790 (patch) | |
tree | e694b5447a2008cfc7a8eeadad4bd8cb59837de4 /intern/cycles | |
parent | cb334428b012294a4503a34e1e2eca5c84d516bd (diff) |
Cleanup: compiler warning
Diffstat (limited to 'intern/cycles')
-rw-r--r-- | intern/cycles/kernel/light/light.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/intern/cycles/kernel/light/light.h b/intern/cycles/kernel/light/light.h index f47e8fbcf82..6e445f862db 100644 --- a/intern/cycles/kernel/light/light.h +++ b/intern/cycles/kernel/light/light.h @@ -434,7 +434,6 @@ ccl_device bool light_sample_from_intersection(KernelGlobals kg, ls->pdf = invarea; /* spot light attenuation */ - float3 dir = make_float3(klight->spot.dir[0], klight->spot.dir[1], klight->spot.dir[2]); ls->eval_fac *= spot_light_attenuation( ls->Ng, klight->spot.spot_angle, klight->spot.spot_smooth, -ls->D); |