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>2013-06-20 23:09:18 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-06-20 23:09:18 +0400
commitc721d82f25b2cde800959711b8b4d4e501b8c819 (patch)
treeee552bc98224781c207d2068cd29a98cbbea73d8 /source/blender/blenlib/intern/BLI_heap.c
parent2dc88ca338b5b8952e3c9a6982f9cdb7b89af9a0 (diff)
move sort from vert/edge/face into mesh menu only (sorting isn't such a common operation).
correct own recently added assert.
Diffstat (limited to 'source/blender/blenlib/intern/BLI_heap.c')
-rw-r--r--source/blender/blenlib/intern/BLI_heap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/BLI_heap.c b/source/blender/blenlib/intern/BLI_heap.c
index 2da36377e55..c62c79b492f 100644
--- a/source/blender/blenlib/intern/BLI_heap.c
+++ b/source/blender/blenlib/intern/BLI_heap.c
@@ -208,7 +208,7 @@ void *BLI_heap_popmin(Heap *heap)
{
void *ptr = heap->tree[0]->ptr;
- BLI_assert(heap->size == 0);
+ BLI_assert(heap->size != 0);
heap->tree[0]->ptr = heap->freenodes;
heap->freenodes = heap->tree[0];