Collada: unit converter was not initialized for ArmatureImporter

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58734 954f8c5b-7b00-dc11-b283-0030488c597c
Collada: renamed size_mat to scale_mat for clarity. removed obsolete variable definition

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58735 954f8c5b-7b00-dc11-b283-0030488c597c
Minor change to the custom_nodes.py template that has some consequences for addons: use bpy.types.* base classes instead of bpy_types.*

The bpy_types classes cause issues when used in addons when loading on Blender startup (subclasses cannot be properly registered).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58736 954f8c5b-7b00-dc11-b283-0030488c597c
Remove superfluous iterations (caused by typo) and type casts in outliner

This significantly lowers the position of outliner_draw_tree_element in profiler
and partially fixes [#36260] (2,300 Objects Makes Blender Unresponsive)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58737 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for [#36321] 'Mark Freestyle Edge' still showing with Cycles renderer
* Now we hide Freestyle properties when "use_shading_nodes" is true. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58738 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles:
* Increase the maximum amount of closures per shader from 16 to 64, so more complex closure trees can be rendered.

I measured performance on CPU and GPU (Geforce 540M) and couldn't find a performance impact, but if someone encounters a noticeable impact on his system, please report. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58739 954f8c5b-7b00-dc11-b283-0030488c597c
fix for error in own recent changes to transform initialization, proportional editmode needs to skip hidden faces.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58740 954f8c5b-7b00-dc11-b283-0030488c597c
function renaming for own recently added BLI_math functions, suggested by Brecht.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58741 954f8c5b-7b00-dc11-b283-0030488c597c
apply world matrix only to armature, Bones and children get it implicit via parenting

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58742 954f8c5b-7b00-dc11-b283-0030488c597c
fix: [#36148] Collada instance nodes are not scaled properly during import

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58743 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles / Non-Progressive integrator:
* Avoid check for !LABEL_TRANSPARENT in "kernel_path_non_progressive_lighting", transparency is either handled in the outer loop or in the "kernel_path_indirect" function, but not here. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@58744 954f8c5b-7b00-dc11-b283-0030488c597c
Use malloc in cases when data is getting overwriten after allocation.

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