patch [#37217] Make WM_gesture_lines draw the lasso unfilled. (Adding reroute nodes, cutting node links)
by Henrik Aarnio (hjaarnio)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@60980 954f8c5b-7b00-dc11-b283-0030488c597c
patch [#37218] Split operator for armatures
from Henrik Aarnio (hjaarnio)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@60981 954f8c5b-7b00-dc11-b283-0030488c597c
Eagerly attempt to refine a track before doing a brute search

Before the refinement phase of tracking, a brute force SAD search
is run across the search area. This works well but is slow;
especially if the guess for the track's location is accurate.

This patch runs a refinement phase before running a brute force
search, hoping that the guessed position (in x2, y2) is close to
the best answer. If it is, then no brute search is done. If it is
not, then a normal brute force search followed by refinement is
done.

In some cases this may produce worse tracks than before; the
regressions will need investigation. The predictive motion model
(to be implemented) will reduce the probability of that happening.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@60982 954f8c5b-7b00-dc11-b283-0030488c597c
Triangulate Modifier: using different ngon and quad methods

Quads: Beauty, Fixed, Fixed Alternate, Shortest Diagonal
Ngons: Beauty, Scanfill

* Shortest Diagonal is the default method in the modifier (popular
  elsewhere), but beauty is the default in Ctrl+T).

* Remove the need for output slot and beauty operator to be called
after Clt+T

Patch with collaborations and reviewed by Campbell Barton

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@60983 954f8c5b-7b00-dc11-b283-0030488c597c
remove from last commit


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@60985 954f8c5b-7b00-dc11-b283-0030488c597c
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