Added gsoc-2012 collada improvements from bratwurst branch

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53959 954f8c5b-7b00-dc11-b283-0030488c597c
Fix building for new collada...

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53960 954f8c5b-7b00-dc11-b283-0030488c597c
Add (vertex-only) Bevel to Mesh > Vertex menu.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53961 954f8c5b-7b00-dc11-b283-0030488c597c
On second thought, exposes bpy.app.translations also when built without i18n support, this will avoid the need for py scripts to test for its presence everywhere!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53962 954f8c5b-7b00-dc11-b283-0030488c597c
mesh-cache deform modifier,
supports MDD and PC2 formats.

see wiki docs:
http://wiki.blender.org/index.php/Doc:2.6/Manual/Modifiers/Deform/Mesh_Cache


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53963 954f8c5b-7b00-dc11-b283-0030488c597c
Usual minor UI messages fixes...

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53964 954f8c5b-7b00-dc11-b283-0030488c597c
add an influence slider to mesh cache.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53965 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#33937] Planar decimate + triangulate operator leaves non-triangle faces

triangulate operation will now always triangulate, even on degenerate faces.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53966 954f8c5b-7b00-dc11-b283-0030488c597c
Fix compile with collada enabled

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53967 954f8c5b-7b00-dc11-b283-0030488c597c
Vertex bevel: adjust vertex positions to make a more rounded pattern.
Also fixed debug quad drawing code to not join successive quads.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53968 954f8c5b-7b00-dc11-b283-0030488c597c
Multires baker: fix memory leak caused by threading issues

Didn't notice this before because of non-working guarded allocation
at the time threading was added to multires baker.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53969 954f8c5b-7b00-dc11-b283-0030488c597c
Multires baker: fix bad face->grid index conversion for displacement baker

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53970 954f8c5b-7b00-dc11-b283-0030488c597c
Multires baker: fix wrong normalization if baking happens to multiple images

Previously normalization will happen per image buffer individually, which
was wrong in cases different faces of the sane mesh uses different images.

Also solved possible threading issues when calculating min.max displacement.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53971 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: minor changes, replace len_v3 with len_squared_v3 for comparison.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53972 954f8c5b-7b00-dc11-b283-0030488c597c
Improved performance for multiple iterations, keeping the same laplacian matrix.

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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53975 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#33836] issuing bpy.ops.render.render() in console crashes the program

don't check the event queue from threads, assert if this happens in future.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53976 954f8c5b-7b00-dc11-b283-0030488c597c
add rna paths to toolsettings and its substructs, useful for python scripting.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53977 954f8c5b-7b00-dc11-b283-0030488c597c
property change reporting now uses the context again, rather then checking a dir() on context, hard-code common paths.
eg:
  bpy.context.scene.render.resolution_x = 1921
  bpy.context.object.data.use_auto_smooth = True
  bpy.context.object.active_material.diffuse_intensity = 1
  bpy.context.scene.world.exposure = 0.1

also remove duplicate GS() defines


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53978 954f8c5b-7b00-dc11-b283-0030488c597c
fix for error where linking objects to the scene would show the popup if activated from the object menu.


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