diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-01-15 05:26:20 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-01-15 05:26:20 +0300 |
commit | dedceb9395bb4383f7986540d6de551e4044640e (patch) | |
tree | b057d765d3cdf05a101193c9adb88919c5a8a714 /intern/cycles/bvh | |
parent | e400cfe6bb6e70ccae339494e76b5fd526a402ac (diff) |
Cleanup: clang-format
Diffstat (limited to 'intern/cycles/bvh')
-rw-r--r-- | intern/cycles/bvh/bvh_embree.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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; |