stupid me - i left the wrong line in.
authorDaniel Genrich <daniel.genrich@gmx.net>
Tue, 13 May 2008 22:30:59 +0000 (22:30 +0000)
committerDaniel Genrich <daniel.genrich@gmx.net>
Tue, 13 May 2008 22:30:59 +0000 (22:30 +0000)
source/blender/blenlib/intern/BLI_kdopbvh.c

index b80fe2103ed2c2bc18ba7aad56f48d09ee0990a6..0d130cd37dad17610543979a2fbc141c9b206b6c 100644 (file)
@@ -487,7 +487,6 @@ static void bvh_div_nodes(BVHTree *tree, BVHNode *node, int start, int end, char
                        tree->totbranch++;
                        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);
                }