OSX/scons: cp needs the targetdir to be created ( ditto does it itself ),
changing the order of commands let us use cp again
Image: color grid - correct abs() use with ints
Preserve non-flat faces in boolean modifier

This commit implements dissolving of edges which were used
to triangulate non-flat faces. This slows things down a bit
(around 5% on heave mesh with all faces triangulated).

We could improve speed of dissolve a bit here (so not a bell
to add an option for triangulation yet).

Also fixed wrong edge origindex mapping.
Fix T38794: ScaleFixedSizeOperation was not taking offset into account
when calculating depending-area-of-interest.
Fix T38798: Can get stuck in world nodes when switching from Cycles to
BI.

The shaderfrom setting in the node editor only makes sense for "new"
shading nodes (cycles), otherwise it should be ignored and default to
SNODE_SHADER_OBJECT.
Fix T38755: Crash when having cyclic dependency and curve deform

Issue was caused by undefined object update order and in some
cases NULL pointer will be de-referenced.

Added on-demand curve path calculation, just the same creepy call
of BKE_displist_make_curveTypes(). This violates DAG and might
end up in a difficult to troubleshoot race condition if there'll
be some issues with how dependencies are calculated in DAG, but
this is the easiest and safest way to solve the bug at this stage,
Fix T38784: smoothview using perspective transition with ortho camera
Followup for 90a86fe: libmv/ceres cmake/scons files are automatically generated

So don't forget to update generator scripts as well.
Fix T38779: cycles SSS and object scale render issue.
Fix T38766: cycles viewport incorrectly taking blender internal alpha into account.
Fix T38766: blender material transparency setting not taken into account for viewport.
Fix for MSVC 2008 compiler errors.
Fix T38801: Dupli objects with modifiers exhibit bad transform artifacts
in Blender Internal renderer.

The BI renderer applies modifiers //after// changing the obmat of the
respective object (for the first instance it encounters). Before
rB6940bf0 the original obmat (omat) was stored inside dupli object data,
which was removed in favor of local omat variables due to hackishness
and redundancy. Problem with BI is that all the obmats have to be
overridden in relation to each other to produce the correct modifier
results (here: offset object for the array modifier).

The patch restores the old (messy) behavior for BI by first overriding
**all** the obmats at once from duplis, then creating render instances,
then cleaning up.

A better solution would be to avoid these modifier hacks in BI
altogether and properly evaluate them in the original object space, but
that requires far greater changes to the old code base, and is out of
scope for bugfixing.
Fix misaligned alpha slider label in color picker.
Tweak to T38766 fix: cycles now support setting viewport alpha for a material.
Fix T38812: color picker incorrectly cancelling operation when clicking next to it.
Fix T38810: ctrl + click panel collapse not taking tabs into account.
Fix T38813: missing color management in texture nodes preview.
Code cleanup: Re-use Grease Pencil panel for 3D view as well.
Fix T38804: unnecessary empty space in the modifier UI.