diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-02-03 17:00:55 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-02-03 17:00:55 +0300 |
commit | 3aa74828ab627723e6c98163bf6344ef1f009bcf (patch) | |
tree | 7dbb827dbb794d8f71ecd4c8047a8d0fff272f6c /intern/cycles/kernel/kernel_path_surface.h | |
parent | 87cbcd697b778b8c5500634a5193bdf67700b3a6 (diff) |
Cycles: Cleanup, indentation and braces
Diffstat (limited to 'intern/cycles/kernel/kernel_path_surface.h')
-rw-r--r-- | intern/cycles/kernel/kernel_path_surface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/kernel_path_surface.h b/intern/cycles/kernel/kernel_path_surface.h index 10af2537f69..6e94cc5762e 100644 --- a/intern/cycles/kernel/kernel_path_surface.h +++ b/intern/cycles/kernel/kernel_path_surface.h @@ -39,7 +39,7 @@ ccl_device void kernel_branched_path_surface_connect_light(KernelGlobals *kg, RN /* lamp sampling */ for(int i = 0; i < kernel_data.integrator.num_all_lights; i++) { if(UNLIKELY(light_select_reached_max_bounces(kg, i, state->bounce))) - continue; + continue; int num_samples = ceil_to_int(num_samples_adjust*light_select_num_samples(kg, i)); float num_samples_inv = num_samples_adjust/(num_samples*kernel_data.integrator.num_all_lights); |