Merge branch 'master' into blender2.8
[blender.git] / intern / cycles / kernel / kernel_path_state.h
index 3ce183bf67a34be4fd0609c8316712be28ca66fa..0102de183f335eeb325c6b7d8a62f7b72c5cdf0c 100644 (file)
@@ -64,10 +64,6 @@ ccl_device_inline void path_state_init(KernelGlobals *kg,
                state->volume_stack[0].shader = SHADER_NONE;
        }
 #endif
-
-#ifdef __SHADOW_TRICKS__
-       state->catcher_object = OBJECT_NONE;
-#endif
 }
 
 ccl_device_inline void path_state_next(KernelGlobals *kg, ccl_addr_space PathState *state, int label)