Fix for a memory leak during Freestyle stroke shading.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56778 954f8c5b-7b00-dc11-b283-0030488c597c
Added support for WITH_CXX_GUARDEDALLOC build option to the Freestyle module.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56779 954f8c5b-7b00-dc11-b283-0030488c597c
bmesh api: add 'is_boundary' attribute to verts.


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56782 954f8c5b-7b00-dc11-b283-0030488c597c
refactor bmesh edge loop walker,
was getting too complicated handing different cases at once, split out boundary case into its own branch.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56783 954f8c5b-7b00-dc11-b283-0030488c597c
fix for problem where edge loop select would select too many vertices (extend selection too far),

before & after: http://www.graphicall.org/ftp/ideasman42/edgeloop_select_fix.png


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56784 954f8c5b-7b00-dc11-b283-0030488c597c
tweak to r56784, no functional change, utility function worked confusingly.


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56786 954f8c5b-7b00-dc11-b283-0030488c597c
Code cleanup: fix confusing line of code with useless ||.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56790 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for #35349, multiple viewers nodes crashing during render. The condition for activating viewer nodes was completely overridden during renders. Changed this so viewer nodes are active only if both of these are true:

1) the node is tagged for recalc OR compo is in render mode
2) it is the currently active viewer (so only one viewer ever writes to the buffer)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56791 954f8c5b-7b00-dc11-b283-0030488c597c
bridge tool: fix for error in recent commit. missed NULL check for example face.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56792 954f8c5b-7b00-dc11-b283-0030488c597c
"Fix" for #35336. Added a warning in the doc string for nodetree.nodes.new() to point users at the recent API change from node.type enum identifiers to the generic node.bl_idname strings. Not really nice, but could prevent a few bug reports and make scripters' lifes easier.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56793 954f8c5b-7b00-dc11-b283-0030488c597c
Fix a mismatch in help message (check_spelling_osl obviously checks OLS, and check_spelling_c, C code! :P )

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56797 954f8c5b-7b00-dc11-b283-0030488c597c
API doc for bpy.app.translations should look better now.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56798 954f8c5b-7b00-dc11-b283-0030488c597c
CMake build system update
- Extending CMakeLists.txt to support builds with VC2012.
- Fix some typo in CMakeLists.txt
- Introduces experimental WITH_AVX_CPU to build with /arch:AVX (VC11 only)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56799 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35347: constraints with vertex group targets were not using the vertex group
weights, it assumed all weights were 1. This gave very different results with the
new bevel modifier due to slightly different vertex group interpolation.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56800 954f8c5b-7b00-dc11-b283-0030488c597c
Moved main part of bpy.app.translations doc out of C code, as suggested by Campell, thx.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56801 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles :
* Use is_zero(a) rather than dot(a, a) == 0, saves some calculations. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56802 954f8c5b-7b00-dc11-b283-0030488c597c
Patch to CMake build system.
Install needed dlls for libjack.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56804 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles:
* Code cleanup, remove unused "resolution" variable from the DeviceTask class, was never used. 

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