Cleanup: Typo fix for Blackbody variable, had different naming in the comments and also in OSL.
Bugfix: "Hide" button in modifiers panel did only hide smoke domain, not the smoke.

Reported by nudelZ
Cycles: Add CUDA support for sm_32 (Tegra K1, Jetson TK1).

Fix T42174.
Minor typo fix, reported by Sebastian Koenig on irc. Thanks!
Mesh calc smooth group: several fixes.

* Consider non-manifold edges as sharp, as in split normals handling.
* Consider edges from sharp polys as sharp!!!
* Fix returned number of groups (was off-by-one for non-bitflags grouping, could also
  be wrong in case of id overflow).

Note about using sharp polys too to define groups: Only current use of this function
(Obj exporter) does not need that, because it does its own check for sharp faces.
However, we might reuse that func in other places in future (e.g. in custom split
normals area), so better to get a consistent behavior!
Pie menus: Confirm threshold

This commit adds a confirm threshold property to pie menus.

Basically, this will confirm the pie menu automatically when
the distance from the center of the pie exceeds that threshold without
a need to release the pie button.

The confirm threshold will only work if it is larger than the pie
threshold.

The confirmation actually occur when the mouse stops moving, to
allow multiple pie menus to be better linked together, (see below)

This functionality also facilitates the ability for chained pie menus by
dragging. Basically, a pie menu item can be a call_menu_pie operator and
the new pie menu will still use the original pie menu release event for
confirmation. This should allow for quick, gesture based navigation in
pie menu hierarchies (going back in the hierarchy is still not supported
though)

There will be a demonstration pie in the official add-on soon
Fix embarrassing typo...
BLI_utildefines: add SQUARE macro

also minor cleanup
Error in last commit
Cleanup: redundant cast
Fix T42205: MovieClip ignores grid color
Mesh Inset: select internal faces by default
Fix T42005: Reset py-handlers could crash

Wasn't acquiring the GIL.
Code cleanup: Use new SQUARE() macro to get squared distance threshold
Code cleanup: Prevent possible int->float conversion
Roto: Improve spline sliding vs. curvature detection

If the mouse is closer to the spline than to it's center do a
spline curvature correction operator instead.
Code cleanup: Move output arguments to the end of the list
Fix T42198: Linked lines only work with linked objects.

The reported issue was caused by a backward incompatibility due to careless
code changes made when per-material Freestyle line colors were introduced
in rB7915d7277ac8c605f016f30f943080556244fb59.  In 2.71 line style
Material color/alpha/thickness modifiers was retrieving alpha transparency
from Material.alpha, whereas in 2.72 Material.line_color[3] was referenced.

The present fix reverts the aforementioned code changes.

This issue is a regression from 2.71, so the fix is appropriate for inclusion in
the 2.72a release.
Fix T42206: RenderLayers popup crashed when clicked while rendering
Some corrections to the pie spawning code to account for nested pies.