Cycles / OSL Textures:
* Ported my checker texture to OSL. :) 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47360 954f8c5b-7b00-dc11-b283-0030488c597c
Mask Modifier - Bugfix and dead-code cleanup

'Armature' mode for the Mask Modifier was not working at all anymore even when
the selection <-> depsgraph recalc issue was patched to work (this latter fix is
coming in another commit). It appears that this probably happened during one or
more of the refactors which may have taken place around here over the years
since I first introduced it.

This commit does two things:
* Removed the unused/redundant "vgroupHash"
* Fixed the incorrect assumption used for determining if the vertex actually
belonged to a vgroup corresponding to a selected bone.


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47363 954f8c5b-7b00-dc11-b283-0030488c597c
Part-Bugfix, Part-Feature Completion: 'Armature' Option for Mask Modifier
finally works

This commit finally hooks up the Mask Modifier's "Armature" option with the
relevant depsgraph updates on bone selection. Hence, this feature finally works
as it was originally intended - that is, bone selections can be used to control
which parts of the mesh that the mask modifier is applied to are displayed,
giving riggers more freedom to experiment with rigs that don't necessarily
feature overbearing/cluttering widgets.

Regarding the implementation ("has_viz_deps" flag):
This feature is just the "tip of the iceberg" of a number of related set of
rigging/visual animation tools I've had in mind for a while now (dating back to
the introduction of this modifier). Key considerations
- Not all rigs will use this, so we don't want an extra (depsgraph-flush +
search) recalc cost for those that don't use this.
- There are some planned features which will also use this


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47365 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles: different fix for object info random range issue.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47366 954f8c5b-7b00-dc11-b283-0030488c597c
Bugfix: Bone Groups now displayed with correct icon in Outliner


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47368 954f8c5b-7b00-dc11-b283-0030488c597c
use fnmatch for reference globing rather then regex - regex overly complicates simple cases and wasnt being taken advantage of.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47369 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: replace some non utf8 chars


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47370 954f8c5b-7b00-dc11-b283-0030488c597c
Fix Eigen3 unaligned array in iTaSC. The unaligned array cause crash when SSE2 is enabled. The source of unaligned array were: matrix passing by value in std::make_pair() and offset of matrix member in structure.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47371 954f8c5b-7b00-dc11-b283-0030488c597c
Fix bug [#31588]: iTaSC does not handle armature scaling correctly. iTaSC solver operates in world reference, therefore armature scale is used to build the ik scene. But the scaling was not taken out when applying the pose at the end of the simulation.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47372 954f8c5b-7b00-dc11-b283-0030488c597c
Minor UI message fix

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47373 954f8c5b-7b00-dc11-b283-0030488c597c
Bugfix for [#31692] Blur Node (Flat) X size affects Y size, Y size does nothing

* GaussianYBlurOperation accessed sizex instead of sizey. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47374 954f8c5b-7b00-dc11-b283-0030488c597c
minor optimizations to compositor, avoid indirections when operating array members multiple times


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47375 954f8c5b-7b00-dc11-b283-0030488c597c
rename context menu 'Python Documentation' to 'Online Python Reference'


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47377 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#31674] BMesh Corrupt Stack around BMVert array "verts" - ONLY ON DEBUG VERSION


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47379 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles / OSL:
* Update the Oren Nayar shader to incorporate updates / fixes from r41968 and r44330. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47381 954f8c5b-7b00-dc11-b283-0030488c597c
Theme Colors for NLA Strips and DopeSheet Summary

* NLA Strip colors are now themable
* Changed the "Active Action"/"Summary" colors to be a bit more muted. The new
colors are now closer to those for keyframes, though they are still different
enough to be clearly distinguishable.
* Removed some colors wihch don't seem to be used (from NLA theme colors)
* Added function to get theme colors + alpha as floats


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47390 954f8c5b-7b00-dc11-b283-0030488c597c
patch [#31644] Py Console: Indent and unindent independent of cursor (aligned) [Tab / Shift + Tab / Ctrl + Tab]
from Sebastian Nell (codemanx)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47391 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #31093: Brush's "Paint curve presets" in Image paint in UV\Image Editor doesn't work if weight paint mode is active

Some operators like curve presets, color sample and some more were using object's
mode to distinguish in which mode user is currently painting. Such approach fails
in cases when there's paint mode active in 3D viewport and Image Editor.

Changed logic here to use some context's state like active space which helps
distinguishing current paint mode more accurate.

Ported all areas which uses paint_get_active() to new paint_get_active_from_context().
There're still some calls to paint_get_active(), but that shouldn't be harmful due
to that places indeed have object's mode as priority when getting paint mode.

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