Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2014-09-28 00:19:17 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-09-28 00:19:17 +0400
commit53b05e4f06425aa3c20082da454d8114e58d53ed (patch)
treef89150d5b1558d5446baa94d688a543007d9ca21 /intern/cycles/kernel/kernel_path.h
parente1afaa02bfa88bc03296ae5a424b1a4274b0fe11 (diff)
Cycles: Cleanup of the SSS volume stack update code
Was a leftover after the changed scene_intersect() which used to be ifdefed depending on the __HAIR__ in the original patch.
Diffstat (limited to 'intern/cycles/kernel/kernel_path.h')
-rw-r--r--intern/cycles/kernel/kernel_path.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/intern/cycles/kernel/kernel_path.h b/intern/cycles/kernel/kernel_path.h
index b8994d940fd..5cd4504b7b3 100644
--- a/intern/cycles/kernel/kernel_path.h
+++ b/intern/cycles/kernel/kernel_path.h
@@ -371,9 +371,9 @@ ccl_device void kernel_path_subsurface_update_volume_stack(KernelGlobals *kg,
Intersection isect;
const float3 Pend = volume_ray.P + volume_ray.D*volume_ray.t;
- while(
- scene_intersect(kg, &volume_ray, PATH_RAY_ALL_VISIBILITY,
- &isect, NULL, 0.0f, 0.0f)) {
+ while(scene_intersect(kg, &volume_ray, PATH_RAY_ALL_VISIBILITY
+ &isect, NULL, 0.0f, 0.0f))
+ {
ShaderData sd;
shader_setup_from_ray(kg, &sd, &isect, &volume_ray, 0, 0);
kernel_volume_stack_enter_exit(kg, &sd, stack);