diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-06-20 23:09:18 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-06-20 23:09:18 +0400 |
commit | c721d82f25b2cde800959711b8b4d4e501b8c819 (patch) | |
tree | ee552bc98224781c207d2068cd29a98cbbea73d8 /source/blender/blenlib/intern | |
parent | 2dc88ca338b5b8952e3c9a6982f9cdb7b89af9a0 (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')
-rw-r--r-- | source/blender/blenlib/intern/BLI_heap.c | 2 |
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]; |