Cleanup: Avoid some defines for scene_intersect(), related to Min Width.
Fix T41936: lender 2.72 Crashes on play on *Ubuntu 14.04

This commit is necessary to update to openal-soft 1.60.0 which
solves weird bug happening on ubuntu.

This is to be landed to the release branch.
Correct for change in recent commit
Cycles: Shader Graph Optimization for Mix RGB nodes.

Basically the same as AC2c58e96685e8, but for Mix RGB Shaders, in case we use the Mix type. This way the node can be used as texture switch for example, setting the Factor to 0.0 or 1.0, without wasting extra memory / render time.
make "tri_shader" an int instead of a float

tri_shader does no longer need to a float.

Reviewers: dingto, sergey

Reviewed By: dingto, sergey

Subscribers: dingto

Projects: #cycles

Differential Revision: https://developer.blender.org/D789
Fix T41885, muting broken for Blender Internal nodes in rendering.

Nodes don't have muting callbacks any more, so now have to check the
flag to prevent overwriting values on the stack that they share with
inputs.
gooseberry request:

Attempt to select closest bones when possible.

Occlusion query selection does't support this well because we can't
really derive depth information from occlusion tests. May be possible to
improve this somewhat in the future.
Fix T41939: Dupliface: Inherit scale doesn't update viewport render.

Render needs un object update it seems...
Fix T41933: Node Editor: Crash occurs with Select by Suffix

Wrong usage of `BLI_str_partition_ex_utf8`...

This is to be backported to 2.72 branch.
OSX: ensure windows are restored at their saved position,
meaning here we need to take docksize into account
GHash: use bool for comparison (simplify compare)
initial similar script
Basic select similar starting point
Basic working version
Minor improvements
Works quite well now
remove passes, minor improvements
Fix for finding  initial region
enable rehash
correct levels search