Fix #35469: image editor smear and soften paint tools not working correct for
float images, was not taking premul/straight convention into account properly.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56966 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35459: global texture coordinates not working with GLSL shaders. Got broken
in shader uniform binding optimizations in revision 55527.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56967 954f8c5b-7b00-dc11-b283-0030488c597c
wrong list member size for memory setting(was too short)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56968 954f8c5b-7b00-dc11-b283-0030488c597c
Weight tools: Clean added additional selection options in operator Panel

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56969 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35449: image sequences to drive e.g. particle length or used in modifiers
were no properly updating when rendering animations.

The render engine was only updating the image user current frame on images used
by material textures. Now moved the function that updates all from the editors
to blenkernel level and do it on all frame changes.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56970 954f8c5b-7b00-dc11-b283-0030488c597c
fix/workaround for problem with osx permissions.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56971 954f8c5b-7b00-dc11-b283-0030488c597c
Support for bridge tool subdivisions, smoothing and shape along the profile.
also added the underlying subdivision as a standalone operator in the edge menu, named: subdivide edge-ring.
http://www.graphicall.org/ftp/ideasman42/bridge_subd.png


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

- Added MaskLayer.splines.new (which creates single spline
  and returns pointer to it).
- Added MaskLayer.splines.remove() to remove given spline.
- Added MaskSpline.points.new() which creates new point
  in the origin and returns pointer to it.
- Added MaskSpline.points.remove() to remove given point.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56973 954f8c5b-7b00-dc11-b283-0030488c597c
Bug fix #35481

Browsing screens via menu disabled screen editing (area divider drag) and made
popup menu hanging (select same editor for example).

Caused by bug fix #35434, commit gets rewinded, and report reopened.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56976 954f8c5b-7b00-dc11-b283-0030488c597c
Bug fix, IRC report.

Mesh with very strange topology makes loop-select (ALT+select) crash.
Missing NULL check for do-while loop that can return NULL.

For Campbell: here's the file to check: http://www.pasteall.org/blend/21576



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56977 954f8c5b-7b00-dc11-b283-0030488c597c
Added display of active bone (in 3DView) when weight painting a mesh Object

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56978 954f8c5b-7b00-dc11-b283-0030488c597c
Improved display of active bone (in 3DView) when weight painting a mesh Object

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56979 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles / Toon BSDF:
* Added a toon bsdf node to Cycles. This was already available as OSL only closure, but is now available inside the SVM backed as well, for CPU and GPU rendering. 
* There are 2 variations available, diffuse and glossy toon, selectable via a menu inside the node. 

Documentation:
http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/Shaders#Toon

Example render & blend file:
http://www.pasteall.org/pic/show.php?id=51970
http://www.pasteall.org/blend/21579

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56980 954f8c5b-7b00-dc11-b283-0030488c597c
Made display of object : bone : shapes unique for weight painting and armature posing

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56981 954f8c5b-7b00-dc11-b283-0030488c597c
Fix stack corruptions in special cases

Issue was caused by wrong array length used
for result of name_uiprefix_id, which shall
actually be 1 byte bugger than MAX_ID_NAME.

Reported by Sebastian Koenig in IRC.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56982 954f8c5b-7b00-dc11-b283-0030488c597c
Cleaned up draw_selected_name() to avoid redundant BLI_snprintf() calls

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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56985 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35426, masking works wrong in projection painting. When we don't
use tiling, we need to sample the mask texture when determining the
pixel masking.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56986 954f8c5b-7b00-dc11-b283-0030488c597c
remove v3d.modeselect, reduce size of other vars in v3d.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56987 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#35488] Toggle "Show All Layers" 


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