[Bf-blender-cvs] [a80104f] blender-v2.78-release: Cycles: Cleanup, spaces

Sergey Sharybin noreply at git.blender.org
Mon Oct 24 12:34:43 CEST 2016


Commit: a80104fb31bf40d635c84c66a3a42768c0176273
Author: Sergey Sharybin
Date:   Mon Oct 24 11:10:35 2016 +0200
Branches: blender-v2.78-release
https://developer.blender.org/rBa80104fb31bf40d635c84c66a3a42768c0176273

Cycles: Cleanup, spaces

===================================================================

M	intern/cycles/bvh/bvh.cpp
M	intern/cycles/bvh/bvh_build.cpp

===================================================================

diff --git a/intern/cycles/bvh/bvh.cpp b/intern/cycles/bvh/bvh.cpp
index 7bc9dc3..bc40a91 100644
--- a/intern/cycles/bvh/bvh.cpp
+++ b/intern/cycles/bvh/bvh.cpp
@@ -343,7 +343,7 @@ void BVH::pack_instances(size_t nodes_size, size_t leaf_nodes_size)
 			size_t leaf_nodes_offset_size = bvh->pack.leaf_nodes.size();
 			for(size_t i = 0, j = 0;
 			    i < leaf_nodes_offset_size;
-			    i+= BVH_NODE_LEAF_SIZE, j++)
+			    i += BVH_NODE_LEAF_SIZE, j++)
 			{
 				int4 data = leaf_nodes_offset[i];
 				data.x += prim_offset;
diff --git a/intern/cycles/bvh/bvh_build.cpp b/intern/cycles/bvh/bvh_build.cpp
index f2a735d..c8aeeb8 100644
--- a/intern/cycles/bvh/bvh_build.cpp
+++ b/intern/cycles/bvh/bvh_build.cpp
@@ -787,7 +787,7 @@ BVHNode* BVHBuild::create_leaf_node(const BVHRange& range,
 				if(params.use_unaligned_nodes && !alignment_found) {
 					alignment_found =
 						unaligned_heuristic.compute_aligned_space(p_ref[i][j],
-						                                           &aligned_space);
+						                                          &aligned_space);
 				}
 			}
 			LeafNode *leaf_node = new LeafNode(bounds[i],




More information about the Bf-blender-cvs mailing list