diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-08-27 03:49:31 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-08-27 03:52:24 +0400 |
commit | e71f2fc3baff2743217d9e2331ed55e2f165cf5a (patch) | |
tree | 0b7e88a55ce287077dbdb3b70e6cfab659c12ee6 /source/blender/blenlib | |
parent | e827d904ae36a1b260ca2bfb04df23077edf66f4 (diff) |
Cleanup
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/intern/BLI_kdopbvh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/BLI_kdopbvh.c b/source/blender/blenlib/intern/BLI_kdopbvh.c index 23adbc4b1f5..dbacb0f3451 100644 --- a/source/blender/blenlib/intern/BLI_kdopbvh.c +++ b/source/blender/blenlib/intern/BLI_kdopbvh.c @@ -686,7 +686,7 @@ static int implicit_leafs_index(BVHBuildHelper *data, int depth, int child_index /* This functions returns the number of branches needed to have the requested number of leafs. */ static int implicit_needed_branches(int tree_type, int leafs) { - return max_ii(1, (leafs + tree_type - 3) / (tree_type - 1) ); + return max_ii(1, (leafs + tree_type - 3) / (tree_type - 1)); } /** |