Merge branch 'master' into blender2.8
[blender.git] / intern / cycles / kernel / kernel_path_state.h
index 6fb0b32832e3484de5ef93c580f7edd59564af43..0102de183f335eeb325c6b7d8a62f7b72c5cdf0c 100644 (file)
@@ -169,7 +169,7 @@ ccl_device_inline float path_state_terminate_probability(KernelGlobals *kg, ccl_
                }
 #ifdef __SHADOW_TRICKS__
                /* Exception for shadow catcher not working correctly with RR. */
-               else if ((state->flag & PATH_RAY_SHADOW_CATCHER) && (state->transparent_bounce <= 8)) {
+               else if((state->flag & PATH_RAY_SHADOW_CATCHER) && (state->transparent_bounce <= 8)) {
                        return 1.0f;
                }
 #endif
@@ -192,7 +192,7 @@ ccl_device_inline float path_state_terminate_probability(KernelGlobals *kg, ccl_
                }
 #ifdef __SHADOW_TRICKS__
                /* Exception for shadow catcher not working correctly with RR. */
-               else if ((state->flag & PATH_RAY_SHADOW_CATCHER) && (state->bounce <= 3)) {
+               else if((state->flag & PATH_RAY_SHADOW_CATCHER) && (state->bounce <= 3)) {
                        return 1.0f;
                }
 #endif