Fix for bundle adjusting with motion restricted

This commit bundles new libmv version from own branch
which brings fix for wrong parameter block used for
modal solver parameterization.

Fixes #34985: Crash with Motion tracker (Tripod Motion)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56053 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: minor BMESH_TODO's, some were left in even though they were done/invalid. 


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56054 954f8c5b-7b00-dc11-b283-0030488c597c
Removed the extra ntree->update flag check in lib_verify_nodetree in readfile.c. This is unnecessary as the update flag will be checked internally in ntreeUpdateTree anyway, except for the generic bNodeTreeType->update callback (it could even be harmful by preventing necessary updates that don't use the ntree->update flag). Executing this once after loading a node tree is a useful feature for pynodes, so they can do initial verification.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56055 954f8c5b-7b00-dc11-b283-0030488c597c
minor edits to DM_update_weight_mcol(), skip getting vars when in editmode, also remove old/invalid comment.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56056 954f8c5b-7b00-dc11-b283-0030488c597c
Make it so FATAL messages from libmv are print to the console
even when --debug-libmv is not passed via command line.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56057 954f8c5b-7b00-dc11-b283-0030488c597c
Fix compilation with current FFmpeg trunk

AVCODEC_MAX_AUDIO_FRAME_SIZE was deprecated and
finally removed from current trunk.

Initial patch by Lawrence D'Oliveiro (ldo) with
own modification, Thanks!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56058 954f8c5b-7b00-dc11-b283-0030488c597c
add back attribution field from script.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56059 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34972: Blender crashes when Force Field-> Curve Guide is created

Made it so where_on_path works correct when Curve does
have editNurbs but no Curve->nurbs.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56060 954f8c5b-7b00-dc11-b283-0030488c597c
WIP, jason's patch

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56061 954f8c5b-7b00-dc11-b283-0030488c597c
New implementation for twist brushes.

It has much better rotation and avoids the compression effect that old
twist brushes have. Also twisting is now non periodic, meaning you can
twist beyond 180 degrees. The amount of twist is also calculated
relative to the angle formed after first translating the mouse away from
the brush center.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56062 954f8c5b-7b00-dc11-b283-0030488c597c
Fix: when using a search menu with an operator's enum prop, the operator was previously always executed with default options (appart from the search-set enum, of course). Now we store the op's properties in search button, so that you can specify non-default options (as it was already possible with e.g. pop-up menu from an operator's enum prop).

To achieve this, some code (callbacks and search button creation) was moved from wm_operators.c to interface/interface.c, and a new UI function was added, uiDefSearchButO_ptr.

Note: This new code uses the fact that uiButHandleFunc callbacks get executed before operator when one of its arg is the button itself!

Many thanks to Campbell who helped me a lot with this patch!

Cleanup: also removed two unused pointers from uiBut struct.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56063 954f8c5b-7b00-dc11-b283-0030488c597c
rename axis_angle_to_mat3_no_norm() --> axis_angle_normalized_to_mat3().
this matches closer to convention from existing functions - angle_v3v3() angle_normalized_v3v3().

also added assert to ensure argument given to axis_angle_normalized_to_mat3() is in fact normalized.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56064 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34967: Display transform makes byte image with alpha=0 black

Skip premultiplication/de-premultiplication when acquiring display
buffer for a byte image. Will make conversion a bit faster also :)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56065 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for cycles border render optimization commit, render status bar was off by 1 pixel.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56066 954f8c5b-7b00-dc11-b283-0030488c597c
CMake: add LLVM_STATIC as cmake build option, so linux distributions can link
LLVM dynamically. Patch by Dan Eicher.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56067 954f8c5b-7b00-dc11-b283-0030488c597c
Touch properties when clearing/adding to a collection.

Fixes an issue when adding several movie strips fails
second time in sequencer.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56068 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34975: crash rendering curve/text with modifiers that alter topology,
was issue in new freestyle code.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56069 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34978: for cycles, images displayed in the UV editor where coupled to the
active image texture node in the material, now this is removed and the image in
the image editor is decoupled and not changed upon entering edit mode.

This system caused more confusion then it's worth, changing or removing textures
would modify the material but users would often not be aware of this.

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