Fix T38205, typo in Add Torus operator.
Add check for KD tree size to BLI_kdtree_insert()

Makes sure we're not trying to insert more nodes than we've
been expecting to.
Fix T38196: Crash with smoke simulation

Issue was caused by KD tree being allocated with the wrong size.
Fix for own regression, editmode object selection (Ctrl+RMB)

Wasn't working because of editmode override (which uses regular object selection in editmode)
Fix T38209: Curve's didn't account for negative scale

Would use the face winding from the previously drawn mesh
fix #T37892 BL_ArmatureConstraint.active returns wrong value

patch (with changes from me) by Séverin Lemaignan (skadge)
Bevel Modifier: add width type and profile control.

This adds to the modifier the new controls that have been
added to the bevel tool.
Bevel fix to clamping for percent type.

The clamp code is still very crude and over-conservative,
but was totally wrong for the percent amount type.
fix #T37894: IK constraint desactivation does not work as expected

patch suggested by Séverin Lemaignan (skadge)
Fix to recent commit, == instead of = in do_version
Correction to assert in previous commit
Fix for icon pin drawing too large when (U.pixelsize != 1)
Cycles, Code cleanup: simplify code for color linear interpolation and float math

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D215
Fix GLSL compatible_pow to give 1.0 for 0 ^ 0
Further fix for T37817: non-ascii paths fix in Cycles broke OSL rendering.

Not quite sure yet what is going on here, but this works for me.
Cycles: Skip the compilation of the dedicated SSE2 kernel on x86-64, we can assume SSE2 here, so just re-use the regular one. Saves 500kb in the blender binary.

Reviewed by: brecht
Differential Revision: https://developer.blender.org/D199
CMake: Fix libname handling of OpenEXR 2.1. The library built with Autotools was not found.

Weird library names having version suffix (e.g. libIex-2_1.so) are used only
when the OpenEXR was built with CMake.  Building the library with the Autotools
doesn't add the version suffix.
DingTo forgot to make sure kernel_sse41 is compiled in even when empty
Cleanup: some boolean int to real bool.
Fix for rBec81feab6649: better to search for versionned libs first, else it can use your system ones instead of those built by install_deps!