[Bf-blender-cvs] [dedceb9395b] blender-v2.82-release: Cleanup: clang-format
Campbell Barton
noreply at git.blender.org
Wed Jan 15 03:27:09 CET 2020
Commit: dedceb9395bb4383f7986540d6de551e4044640e
Author: Campbell Barton
Date: Wed Jan 15 13:26:20 2020 +1100
Branches: blender-v2.82-release
https://developer.blender.org/rBdedceb9395bb4383f7986540d6de551e4044640e
Cleanup: clang-format
===================================================================
M intern/cycles/bvh/bvh_embree.cpp
===================================================================
diff --git a/intern/cycles/bvh/bvh_embree.cpp b/intern/cycles/bvh/bvh_embree.cpp
index 42d2e66017c..ac7cf6501ba 100644
--- a/intern/cycles/bvh/bvh_embree.cpp
+++ b/intern/cycles/bvh/bvh_embree.cpp
@@ -190,10 +190,10 @@ static void rtc_filter_occluded_func(const RTCFilterFunctionNArguments *args)
}
else {
ctx->ss_isect->num_hits = 1;
- }
- /* record intersection */
- kernel_embree_convert_local_hit(
- kg, ray, hit, &ctx->ss_isect->hits[hit_idx], ctx->sss_object_id);
+ }
+ /* record intersection */
+ kernel_embree_convert_local_hit(
+ kg, ray, hit, &ctx->ss_isect->hits[hit_idx], ctx->sss_object_id);
ctx->ss_isect->Ng[hit_idx].x = hit->Ng_x;
ctx->ss_isect->Ng[hit_idx].y = hit->Ng_y;
ctx->ss_isect->Ng[hit_idx].z = hit->Ng_z;
More information about the Bf-blender-cvs
mailing list