From a2fe0cf5d79b399c0dd97d9a144333ddece71015 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 1 Jan 2010 19:10:31 +0000 Subject: armature ghost stepsize was not initialized, Aligorith: can you check this is correct? remove other small warnings --- source/blender/blenlib/intern/BLI_kdopbvh.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source/blender/blenlib') diff --git a/source/blender/blenlib/intern/BLI_kdopbvh.c b/source/blender/blenlib/intern/BLI_kdopbvh.c index 3f4b9fbae25..eebff8dfaef 100644 --- a/source/blender/blenlib/intern/BLI_kdopbvh.c +++ b/source/blender/blenlib/intern/BLI_kdopbvh.c @@ -302,6 +302,8 @@ static BVHNode *bvh_medianof3(BVHNode **a, int lo, int mid, int hi, int axis) // return a[mid]; } } + +#if 0 /* * Quicksort algorithm modified for Introsort */ @@ -332,7 +334,7 @@ static void sort(BVHNode **a0, int begin, int end, int axis) bvh_insertionsort(a, begin, end, axis); } } -#if 0 + static void sort_along_axis(BVHTree *tree, int start, int end, int axis) { sort(tree->nodes, start, end, axis); -- cgit v1.2.3