From 9dc5367c89f467e516620b6ff15e2eb35b26fdee Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Tue, 17 May 2016 22:08:34 +0200 Subject: Cleanup code style inconsistency in last commits. --- intern/cycles/bvh/bvh_build.cpp | 2 +- intern/cycles/bvh/bvh_sort.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'intern/cycles/bvh') diff --git a/intern/cycles/bvh/bvh_build.cpp b/intern/cycles/bvh/bvh_build.cpp index 6af4d25eefc..76a1bfa2bfe 100644 --- a/intern/cycles/bvh/bvh_build.cpp +++ b/intern/cycles/bvh/bvh_build.cpp @@ -631,7 +631,7 @@ BVHNode* BVHBuild::create_leaf_node(const BVHRange& range, bounds[type_index].grow(ref.bounds()); visibility[type_index] |= objects[ref.prim_object()]->visibility; - if (ref.prim_type() & PRIMITIVE_ALL_CURVE) { + if(ref.prim_type() & PRIMITIVE_ALL_CURVE) { visibility[type_index] |= PATH_RAY_CURVE; } ++num_new_prims; diff --git a/intern/cycles/bvh/bvh_sort.cpp b/intern/cycles/bvh/bvh_sort.cpp index f6bbdb231df..e9032c61c3b 100644 --- a/intern/cycles/bvh/bvh_sort.cpp +++ b/intern/cycles/bvh/bvh_sort.cpp @@ -125,7 +125,7 @@ static void bvh_reference_sort_threaded(TaskPool *task_pool, if(compare.compare(data[left], data[right]) > 0) { swap(data[left], data[right]); } - if (compare.compare(data[center], data[right]) > 0) { + if(compare.compare(data[center], data[right]) > 0) { swap(data[center], data[right]); } swap(data[center], data[right - 1]); -- cgit v1.2.3