Fix collada compile, too less arguments

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@60986 954f8c5b-7b00-dc11-b283-0030488c597c
(Due to a change in function call) Added default triangulation method for Collada exporter

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@60987 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #37152: Knife tool doesn't work properly with Maya preset (Zooming and Panning)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@60988 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for particle texture influence bug causing undefined (nan) values: When using a texture with "Particles/Strands" coordinates that in turn has a "Lifetime" influence on the particles, the texture eval
accesses the particle lifetime/dietime data before it is actually defined! This is a design flaw, but to avoid corrupted data for now just initialize the lifetime/dietime values for particles in advance
before evaluating the texture.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@60989 954f8c5b-7b00-dc11-b283-0030488c597c
Project Pampa fix: animplayer will use preview range if preview is enabled

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@60992 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #37246: Dynamic paint end frame is limited to 9999

Not sure what's actual reason for this, increased it to MAXFRAMRF.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@60993 954f8c5b-7b00-dc11-b283-0030488c597c
Enable multires bake to level 0

Uses trick with crating simple subdivided mesh with
level 1 and bakes against it.

From quick tests seems to be working correct, more
tests are welcome.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@60994 954f8c5b-7b00-dc11-b283-0030488c597c
Code cleanup: remove unused block from multire baker

Mapping from grid on ll 0 was not used and was incorrect
since bmesh merge anyway.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@60995 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#37250] dynotopo initial triangulation

hmrf arguments order was wrong ... but int/bool casting made it pass
through the compiler

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@60996 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #37192, Rendered preview causes crash when deleting a material node in shader node editor. The 'free' callback for node execution data was accessed from the node->typeinfo, but this pointer can
become invalid because the render database is not immediately freed after the job finishes. To avoid access to dangling node pointers, store the function callback in the exec data itself. The node
pointer must not be accessed in the free function (wasn't used before either), these functions are purely for the execution data.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@60997 954f8c5b-7b00-dc11-b283-0030488c597c
Make anim system safer for threading

Remove usages of ANIM_unit_mapping_apply_fcurve in favor of
runtime scale factor apply.

There're still calls to ANIM_nla_mapping_apply_fcurve are
hanging around, they're the next t be cleaned up!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@60998 954f8c5b-7b00-dc11-b283-0030488c597c
Project Pampa request: FCurves normalized display

Added two options to a header of FCurve editor:

- Normalize which makes it so every individual
  curve is fit into -1..1 space.

- Auto-normalize, which probably is to be called
  "Lock" which "locks" curve normalization scale.
  This is useful to prevent curves from jumping
  around when tweaking it.

It's debatable whether it need to be a button to
normalize curves n purpose only, and it's fully
depends on animator's workflow.

Here during Project Pampa we've got Francesco
who get used to auto-renormalization and Hjalti
who prefers locked behavior.

Docs are to be ready soon by Francesco.
Thanks Brecht for the review!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@60999 954f8c5b-7b00-dc11-b283-0030488c597c
Code cleanup: use bool instead of int in mask module

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61000 954f8c5b-7b00-dc11-b283-0030488c597c
Code cleanup: more int->bool conversions mask module

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61001 954f8c5b-7b00-dc11-b283-0030488c597c
Lasso select tool for masking in sculpting. Initial code, non optimized
for now.
Used to be ultra terrible but with threading (openmp) there is slightly
better performance
and is ready for testing. To use press shift-ctrl-lclick. Still no
ability to
remove mask. Coming soon.

Also make box selection threaded (openmp) and comment fix.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61002 954f8c5b-7b00-dc11-b283-0030488c597c
Some comment fixes, add new sculpt masking operators to menus

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61003 954f8c5b-7b00-dc11-b283-0030488c597c
Optimization of lasso masking using scanfill.

Thanks to Campbell for the advice!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61004 954f8c5b-7b00-dc11-b283-0030488c597c
One more optimization for lasso, clip PBVH against object space planes
of lasso enclosing rectangle.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61005 954f8c5b-7b00-dc11-b283-0030488c597c
Add some update notifiers for a few boolean paint properties (probably a
lot more needed) so that they get properly updated in UI when the
property is edited through python or a custom key binding to context
toggle operator.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61006 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #37252: Mask modifier doesn't copy settings on object copy

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