SVN maintenance.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53283 954f8c5b-7b00-dc11-b283-0030488c597c
style cleanup: wrap long lines (>200)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53284 954f8c5b-7b00-dc11-b283-0030488c597c
initial support for 'occlude background geometry' in weight paint mode.

Only support mouse vertex select at the moment.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53285 954f8c5b-7b00-dc11-b283-0030488c597c
minor speedup ED_mesh_pick_vert, ED_mesh_pick_face_vert
avoid matrix multiply, use len_manhattan_v2v2


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53286 954f8c5b-7b00-dc11-b283-0030488c597c
use foreachMappedVert for ED_mesh_pick_vert()


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53287 954f8c5b-7b00-dc11-b283-0030488c597c
add zbuf/depth option to weight paint lasso select.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53288 954f8c5b-7b00-dc11-b283-0030488c597c
add zbuf/depth option to weight paint border & circle select


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53289 954f8c5b-7b00-dc11-b283-0030488c597c
fix for bug where weight paint would draw hidden faces but not draw then with the backbuffer (depth selection).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53290 954f8c5b-7b00-dc11-b283-0030488c597c
Adding Scale Visual keying (and de-duplicated part of the code returning visual values to key).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53291 954f8c5b-7b00-dc11-b283-0030488c597c
Code cleanup: add usual 'BKE_' prefix to 'public' constraint functions from blenkernel...

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53292 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #33641: cycles self intersection artifacts with motion blur and one of the
X/Y/Z coordinates close to 0.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53293 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles: deal a bit better with errors when CUDA runs out of memory, try to avoid crashes.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53294 954f8c5b-7b00-dc11-b283-0030488c597c
Bug fix (own collection) 

Icons in search menus were not drawing on the right location when UI panels were zoomed in large.
Not very common, but annoying. (DPI setting worked fine)



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53295 954f8c5b-7b00-dc11-b283-0030488c597c
Added support of J2K codec for Jpeg2000 writing

This codec is absolutely needed to generate DCP using OpenDCP,
before that external application to convert JP2 to J2K was used
which slowed down export a lot.

New codec is exposed to image format settings panel and called
Codec. Default one is JP2 which creates files with .jp2 extension,
new one is called J2K which creates with .j2c extension.

Other changes:
- Fixed avi jpeg warning which was treating as error here.
- Made it so extension is detecting from ImageFormatData instead
  of image file type, which makes it possible to have different
  extension for the same file type depending on it's settings.

  IRIS format should still be changed (depending on number of
  channels it'll be .bw, .rgb or .rgba extension)

- Default image format settings would be set from image buffer
  when re-saving it. Makes it possible to easily open .j2c file
  and save it using J2K codec (without this change it'll save as
  .jp2 using JP2 codec)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53296 954f8c5b-7b00-dc11-b283-0030488c597c
Add keying "options" parameter to keyframe_insert() bpy_rna function, so now you can enable 'INSERTKEY_NEEDED', 'INSERTKEY_VISUAL' and/or 'INSERTKEY_XYZ_TO_RGB' when you directly key some property from python script (previously those options were only available through keyingsets).

Thanks to Campbell for review!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53297 954f8c5b-7b00-dc11-b283-0030488c597c
Fix cycles displacement not working well with OSL and multiple objects.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53298 954f8c5b-7b00-dc11-b283-0030488c597c
Compilation fix for collada

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53299 954f8c5b-7b00-dc11-b283-0030488c597c
fix for use of uninitialized variable with ui_handler_region_menu.


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53301 954f8c5b-7b00-dc11-b283-0030488c597c
Patch for weirdo library recursive linking errors:

In case you accidentally link data in a library file from the main file, Blender would crash.
Now it survives, giving error messages to tell what to fix.



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