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
path: root/source
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2014-01-14 21:49:21 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-01-14 21:51:26 +0400
commit43c2b36431518b0a8b492606bacae78fe9fad4ea (patch)
tree13afbb79ce7ee822cf43187f9e519d4f0f499356 /source
parentdad1d30bbf09c5589459007540ba31d6d390b2ad (diff)
Correction to assert in previous commit
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenlib/intern/BLI_kdtree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/BLI_kdtree.c b/source/blender/blenlib/intern/BLI_kdtree.c
index 844d8502ff0..c8ee0c11fc7 100644
--- a/source/blender/blenlib/intern/BLI_kdtree.c
+++ b/source/blender/blenlib/intern/BLI_kdtree.c
@@ -90,7 +90,7 @@ void BLI_kdtree_insert(KDTree *tree, int index, const float co[3], const float n
KDTreeNode *node = &tree->nodes[tree->totnode++];
#ifdef DEBUG
- BLI_assert(tree->totnode < tree->maxsize);
+ BLI_assert(tree->totnode <= tree->maxsize);
#endif
/* note, array isn't calloc'd,