Commit: 7a702ba1d53587a324e45b4138ef27f0afcabd68
Author: Campbell Barton
Date: Thu Dec 31 18:15:28 2015 +1100
Branches: master
https://developer.blender.org/rB7a702ba1d53587a324e45b4138ef27f0afcabd68
Cleanup: warning
===================================================================
M source/blender/blenlib/intern/BLI_kdopbvh.c
===================================================================
diff --git a/source/blender/blenlib/intern/BLI_kdopbvh.c
b/source/blender/blenlib/intern/BLI_kdopbvh.c
index 10e29e0..3752751 100644
--- a/source/blender/blenlib/intern/BLI_kdopbvh.c
+++ b/source/blender/blenlib/intern/BLI_kdopbvh.c
@@ -860,14 +860,13 @@ static void non_recursive_bvh_div_nodes(BVHTree *tree,
BVHNode *branches_array,
BVHDivNodesData cb_data = {
.tree = tree, .branches_array = branches_array, .leafs_array =
leafs_array,
.tree_type = tree_type, .tree_offset = tree_offset, .data =
&data,
- .first_of_next_level = 0, .depth = 0, .i = 0,
+ .first_of_next_level = 0, .depth = 0, .i = 0,
};
/* Loop tree levels (log N) loops */
for (i = 1, depth = 1; i <= num_branches; i = i * tree_type +
tree_offset, depth++) {
const int first_of_next_level = i * tree_type + tree_offset;
const int end_j = min_ii(first_of_next_level, num_branches +
1); /* index of last branch on this level */
- int j;
/* Loop all branches on this level */
cb_data.first_of_next_level = first_of_next_level;
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs