Fix T40146: BGE Compound parent crash
BLF: avoid float/int conversion drawing glyphs

also use UNLIKELY for error cases
BLI_kdopbvh: assert for bad input

also hint UNLIKELY branches
bmesh py api: add typed tuple-from-array functions
bmesh py api: add BMesh.calc_tessface()
Renamed CTX_data_linestyle_from_scene() to BKE_get_linestyle_from_scene().

The function is to retrieve the active line style ID datablock from a scene and
there is nothing related to bContext.
Cleanup: Adhere to our naming convention for BKE_linestyle.h API
BMesh: optimize BM_vert_splice to avoid getting a loop array first
Fix T41088: Canceling pose library preview does not reset to previous pose.
Sort vertex groups by Armature Hierarchy

Sort vertex groups by Armature Hierarchy

Reviewers: mont29

Differential Revision: https://developer.blender.org/D649
Automatic commit by arc
Clean up of dead code.

dm can’t be NULL here (found by Coverity).
Fix T41075: Segfault when attempting to escape from bone translation.

Minor logical error in rBb617d6d5 ;)
Cleanup / Cycles: Remove unused defines and some other minor changes.
BMesh: Add BM_vert_pair_share_face_check

Use to assert if BM_vert_splice is used incorrectly
BMesh: use compiler attributes for queries, structure
Cleanup: dead code
Follow-up to code cleanup in rB415af0b: Keep compound terms as they are.
bmesh py api: BPY_BM_CHECK_SOURCE_* macro now accepts multiple args
bmesh py api: add bmesh.utils.vert_splice(...)