Blender Git Loki

Git Commits -> Revision d3c815b

Revision d3c815b by Alexander Gavrilov (master)
November 4, 2018, 10:29 (GMT)
BLI_heap: add an API function to directly read the top node value.

It is very commonly needed in loop conditions to check if
the items in the heap are good enough to continue.

Commit Details:

Full Hash: d3c815bd0831f46c18bb4bddc9f290b5f47e2c45
Parent Commit: 0d69a5a
Lines Changed: +18, -5

6 Modified Paths:

/source/blender/blenkernel/intern/colorband.c (+1, -1) (Diff)
/source/blender/blenlib/BLI_heap.h (+1, -0) (Diff)
/source/blender/blenlib/intern/BLI_heap.c (+11, -0) (Diff)
/source/blender/bmesh/tools/bmesh_decimate_collapse.c (+2, -2) (Diff)
/source/blender/editors/mesh/editmesh_tools.c (+2, -2) (Diff)
/tests/gtests/blenlib/BLI_heap_test.cc (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021