[Bf-blender-cvs] [db3635f] bake-cycles: Cycles-Bake: force use_light_pass to be on when baking light passes
Dalai Felinto
noreply at git.blender.org
Wed Apr 23 02:46:54 CEST 2014
Commit: db3635fece17a1499f4787c8f6cc7c736f5b1c20
Author: Dalai Felinto
Date: Thu Jan 23 15:10:26 2014 -0200
https://developer.blender.org/rBdb3635fece17a1499f4787c8f6cc7c736f5b1c20
Cycles-Bake: force use_light_pass to be on when baking light passes
===================================================================
M intern/cycles/kernel/kernel_displace.h
===================================================================
diff --git a/intern/cycles/kernel/kernel_displace.h b/intern/cycles/kernel/kernel_displace.h
index b6df218..ef8c691 100644
--- a/intern/cycles/kernel/kernel_displace.h
+++ b/intern/cycles/kernel/kernel_displace.h
@@ -28,7 +28,7 @@ ccl_device void compute_light_pass(KernelGlobals *kg, ShaderData *sd, PathRadian
/* initialize */
float3 throughput = make_float3(1.0f, 1.0f, 1.0f);
- path_radiance_init(L, kernel_data.film.use_light_pass);
+ path_radiance_init(L, true);
/* TODO: copy bounce and other settings from scene */
path_state_init(kg, &state, &rng, 0);
More information about the Bf-blender-cvs
mailing list