bug in bvhkdop (bad diff merged, pointed out by jaguarandi)

This commit is contained in:
Daniel Genrich
2008-05-13 22:29:50 +00:00
parent e02bca73d7
commit 3bb43aaaaf

View File

@@ -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++;