Moved and renamed  ED_pose_channel_in_IK_chain() ->
BKE_pose_channel_in_IK_chain()

This was needed for depsgraph work, and it's cleaner for RNA to have fewer
dependencies on editors


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60097 954f8c5b-7b00-dc11-b283-0030488c597c
correct error in libmv stub, also correct typo.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60098 954f8c5b-7b00-dc11-b283-0030488c597c
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/blender@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/blender@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/blender@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/blender@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/blender@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/blender@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/blender@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/blender@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/blender@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/blender@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/blender@60114 954f8c5b-7b00-dc11-b283-0030488c597c
OSX/cmake: move the new xcode-select-handing outside xcode conditional, to fix cmake/make compile

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60116 954f8c5b-7b00-dc11-b283-0030488c597c
Fix broken compiling with ndof on linux and win

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60117 954f8c5b-7b00-dc11-b283-0030488c597c
Cleanup for last commit

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

Modify calculation of sculpt plane to only take into account forward
facing vertices. This will solve cases where sculpting on a volume with
the two sides of the mesh inside the brush radius could move the sculpt
plane inside the mesh volume.

To completely fix the issue where the mesh would "stick" the two sides
of the mesh together on the sculpt plane (for instance for clay strip
brushes), user should enable "front face only". Perhaps some brushes,
like clay strips should enforce this and not present the option in the
first place.

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

* Cleanup for previous commit and reduce some local variable referencing
* Add support for brushes that operate on frontfaces only and do not
show the option for those brushes. Currently only clay strips is in the
list but this may change according to artist feedback. This should take
care of the "sticky" surface problem completely.

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