Compatibility and robustness:

* Make masking depend on texture mode only if there's an actual texture
present
* New stroke system uses diameter to calculate stroke spacing, while old
texture painting brushes and system used radius. So divide spacing of
brushes in old files to half. Since I expect trunk users to have already
adapted this, I do this for an old subversion of blender.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55911 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34921: cycles rendered a specific scene with a small high poly object
contained in a large low poly object very slow, due to failure case of fast
multithread BVH binning. Tweaked parameter now to avoid this.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55912 954f8c5b-7b00-dc11-b283-0030488c597c
rough moebius transformation modifier
fixed initialization of left/right rotation matrices.  clarified the 'dist' variable, which is really supposed to be the "quadrance."
Merge branch 'moebius' of https://github.com/timbresmith/hyperblender into moebius