[Bf-blender-cvs] [1e18113] master: Cycles: Cleanup, spaces
Sergey Sharybin
noreply at git.blender.org
Mon Oct 24 11:47:38 CEST 2016
Commit: 1e1811357d3aeaffec0457f9827c698b05f231e8
Author: Sergey Sharybin
Date: Mon Oct 24 11:10:35 2016 +0200
Branches: master
https://developer.blender.org/rB1e1811357d3aeaffec0457f9827c698b05f231e8
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 39b2a0c..9f2468e 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