* FIX for
   - [#31777] Border Crop gives black 
   - [#31768] Crash when connecting a Math node to a translate node in Tiles comp
   - [#31638] View node in new node compo system crashes when inside a group
 * make sure a very fast vignette can be made by using a EliipseMask + Fast Gaussian blur




git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47770 954f8c5b-7b00-dc11-b283-0030488c597c
"Fix" for [#30704] Action Constraint mapping bug

Feature request rather than a real bug: allow constrained bone to use "object" part of the linked action, in addition to "same-named bone" part.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47771 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #31675 Reroute nodes aren't working for cycles.

Note that currently the reroute nodes are hardcoded to color values, which means they will not work for shader type connections (and possibly cause overhead for float and vector conversion). Looking into a solution.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47773 954f8c5b-7b00-dc11-b283-0030488c597c
optimize jpeg2000 saving
- expand loops to avoid checks for each iteration
- use unsigned ints for looping over pixels
- use inline functions for color conversion


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47774 954f8c5b-7b00-dc11-b283-0030488c597c
Reroute node socket types update automatically from connections when possible. This prevents unnecessary conversions and breaking connections when linking incompatible types to the reroute color sockets (point in case: cycles shaders).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47775 954f8c5b-7b00-dc11-b283-0030488c597c
Few minors style and type fixes (and a nice, harmless copy/paste error! ;) )

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47776 954f8c5b-7b00-dc11-b283-0030488c597c
Modification of node groups by adding/removing nodes is not possible yet. This patch extends the 'Make Group' operator and adds a new 'Separate' operator to add such functionality.

1) For inserting into existing groups:
  The 'Make Group from selected' (CTRL+g) operator shows a selection popup (like the object parenting operator), with options depending on the type of the active node (last selected):
  * "New" -> regular operator, creates new group type with all selected nodes inside.
  * "Insert" (only if active node is a group) -> adds all other selected nodes into the group.

  Currently still prohibits groups inside groups in general, though would be technically possible as long as no actual recursion occurs (group containing itself).

2) For extracting from an existing group:
  New 'Separate from group' operator (p), works similar to separating vertices/edges/faces from mesh. Two modes:
  * "Copy" makes a copy of the nodes in the parent tree, but keeps the original group intact.
  * "Move" removes selected nodes from the node group and adds them to the parent tree

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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47778 954f8c5b-7b00-dc11-b283-0030488c597c
Masking support for motion tracks

Added option to use Grease Pencil datablock as a mask for pattern
when doing motion tracking. Option could be found in Tracking Settings
panel.

All strokes would be rasterized separately from each other and every
stroke is treating as a closed spline.

Also added option to apply a mask on track preview which is situated
just after B/B/W channel button under track preview.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47782 954f8c5b-7b00-dc11-b283-0030488c597c
Decrease frequency of mallocs during multires sculpt smoothing

Patch from Jason Wilkins.

Creates a pool of allocations (one for each OpenMP thread) rather than
allocating every time do_multires_smooth_brush() is called.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47783 954f8c5b-7b00-dc11-b283-0030488c597c
Naming + Style tweaks for newly added flag for Action Constraint

Old names used could conflict with other things too easily in future


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47786 954f8c5b-7b00-dc11-b283-0030488c597c
Tracking dopesheet's scrollbat now updates to channels number nicely.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47787 954f8c5b-7b00-dc11-b283-0030488c597c
Make dopesheet settings per-tracking data

It was a bit confusing to synchronize settings used in pre-calculated
dopesheet channels which was storing in tracking data with settings
used for display which is in space data.

This was initially done by converting one flags to other and checking
if space's settings matches pre-calculated one, but that had several
issues if two different dopesheet are using different settings:

- Channels would be re-calculated on every redraw for each of spaces
- Dopesheet operators could fail due to the could be using  channels
  calculated for other space.

That was also quite nasty code checking if requested settings matches
pre-calculated one.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47789 954f8c5b-7b00-dc11-b283-0030488c597c
Added options to display only selected tracks and show hidden tracks
in motion tracking dopesheet view.

By default all channels are displaying now.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47790 954f8c5b-7b00-dc11-b283-0030488c597c
Some Clip Editor interface clean-ups:

- Display track's reprojection error in dopesheet
- Make sure track is selected when clicking on dopesheet channel
- Attempt to make headers a bit cleaner without long labels which
  doesn't actually make sense.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47791 954f8c5b-7b00-dc11-b283-0030488c597c
Added Selected Only and Show Hidden flags to clip editor's curve view

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47792 954f8c5b-7b00-dc11-b283-0030488c597c
Minor fix [#31798] [minor] simpledeform modifier tooltip

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47794 954f8c5b-7b00-dc11-b283-0030488c597c
remove input socket of mask node, this wasnt used.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47795 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles:
* Add back a break, which was deleted in r47773. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@47796 954f8c5b-7b00-dc11-b283-0030488c597c
fix: Collada build warning about inconsistent usage of Camera structure/class

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