diff options
author | Daniel Genrich <daniel.genrich@gmx.net> | 2008-05-14 02:29:50 +0400 |
---|---|---|
committer | Daniel Genrich <daniel.genrich@gmx.net> | 2008-05-14 02:29:50 +0400 |
commit | 3bb43aaaafdda6fcbd1b7fab1e1ea473afc5e527 (patch) | |
tree | fe18bbe68541f2825375d2c65bf5ad9fdbaf3f30 /source/blender/blenlib | |
parent | e02bca73d78c7a86d383d38052c29f91b8b3d623 (diff) |
bug in bvhkdop (bad diff merged, pointed out by jaguarandi)
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/intern/BLI_kdopbvh.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/intern/BLI_kdopbvh.c b/source/blender/blenlib/intern/BLI_kdopbvh.c index 75ff1d8f257..b80fe2103ed 100644 --- a/source/blender/blenlib/intern/BLI_kdopbvh.c +++ b/source/blender/blenlib/intern/BLI_kdopbvh.c @@ -488,6 +488,7 @@ static void bvh_div_nodes(BVHTree *tree, BVHNode *node, int start, int end, char tnode->parent = node; partition_nth_element(tree->nodes, start, end, tend, laxis); + refit_kdop_hull(tree, tnode, start, tend); bvh_div_nodes(tree, tnode, start, tend, laxis); } node->totnode++; |