change NODE_TREE_TYPES_BEGIN/END macros to include braces (matches CTX_DATA_BEGIN/END)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@60099 954f8c5b-7b00-dc11-b283-0030488c597c
* Fix #36717, don't grey out AO distance property, as it affects the AO Render Pass and AO closure as well. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@60102 954f8c5b-7b00-dc11-b283-0030488c597c
Match free_normals_split with calc_normals_split names ;)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@60104 954f8c5b-7b00-dc11-b283-0030488c597c
Fix memory leak reading mesh data after change to skip saving temporary
custom data layers.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@60107 954f8c5b-7b00-dc11-b283-0030488c597c
Related to #36710: add a "use_viewport" option to the render operator, to specify
if the layers and camera of the 3d viewport should be used. Python scripts don't
always want this behavior.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@60108 954f8c5b-7b00-dc11-b283-0030488c597c
Cleanup and improvements of the compositor debug output.

Debug code for graphviz output moved to a dedicated file COM_Debug.h/cpp.

The DebugInfo class has only static functions, which are called from a number of places to keep track of what is happening in the compositor. If debugging is disabled these are just inline stubs, so we
don't need #ifdefs everywhere and don't get any overhead.

The graphviz output is much more useful now. DebugInfo keeps track of node names in a static string map for meaningful names. It uses a number of colors for various special operation classes.
ExecutionGroups are indicated in graphviz with clusters.

Currently the graphviz .dot files are stored in the BLI_temporary_dir() folder. A separate dot file is generated for each stage of the ExecutionGroup scheduling, this is intended to give some idea of the
compositor progress, but could still be improved.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@60109 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #36719: UV pass not rendering in second render layer if first render layer
does not have the UV pass enabled as well.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@60110 954f8c5b-7b00-dc11-b283-0030488c597c
OSX/cmake: allow for compiling with xcode develper previews by determing xcode-select

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@60111 954f8c5b-7b00-dc11-b283-0030488c597c
OSX: Compilefix for ndof symbols get magled when used extern C, now use discrete c files embedded, patch by Jake Kauth

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@60112 954f8c5b-7b00-dc11-b283-0030488c597c
OSX/scons: take xcode-select path into account, to work well with different xcode versions

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@60113 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for #36720 and #36721.
This was own error in r60049 which fixed chunk number calculation. This was mixing int and unsigned int values from ExecutionGroup, which leads to huge chunk numbers which are then skipped.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@60114 954f8c5b-7b00-dc11-b283-0030488c597c