Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-01-01 22:10:31 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-01-01 22:10:31 +0300
commita2fe0cf5d79b399c0dd97d9a144333ddece71015 (patch)
tree376514c301e3cf2256fee725f3e3e2135b9e1841 /source/blender/blenlib
parent637873deb0952bdd64d4fb461145685379191210 (diff)
armature ghost stepsize was not initialized, Aligorith: can you check this is correct?
remove other small warnings
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/intern/BLI_kdopbvh.c4
1 files changed, 3 insertions, 1 deletions
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);