Re-bundle libmv from own branch.

Should resolve compilation error on some platforms when using linux and
compilation error of libmv on FreeBSB.

It was a regression caused by not applied changes on config_linux.h
and some changes made to utilities.cc were also occasionally missed.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44825 954f8c5b-7b00-dc11-b283-0030488c597c
Commit patch from Shane Ambler to make VideoTexture compile with a clang on FreeBSD.
Thanks!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44826 954f8c5b-7b00-dc11-b283-0030488c597c
Removing SWAP macro define from BLI_heap.c, already present in BLI_utildefines.h, giving compile error.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44827 954f8c5b-7b00-dc11-b283-0030488c597c
Style cleanup in blenfont (spaces, C++ comments, etc.).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44828 954f8c5b-7b00-dc11-b283-0030488c597c
Make knifetool more robust against crashes. Fix some hole problems.

Sometimes split would fail to make a face - make sure it doesn't
crash if that happens.
Chain finding code for holes would sometimes go back to same
vertex on the face, which causes problems, so fixe that.
Also, disallowed a cut that starts at a vertex or edge and
cycles back to that same point in a face - this would make
a face with a repeated vertex, which may not be handled by
the rest of the system properly.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44829 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #30512: external render saved render result after reporting error.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44830 954f8c5b-7b00-dc11-b283-0030488c597c
OSX/cmake: use again 10.5 as general deployment target ( pls verify 10.5 compatibility works with automatic weaklinking), use now then sdk which for sure exists, remove obsolete slash

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44831 954f8c5b-7b00-dc11-b283-0030488c597c
Code cleanup: knife gathers pos-related state into a struct. No functional change.

This is in preparation for bug fixing and cleanup related to tracking
of bmface and is_space state variables.  And makes it more likely
to avoid bugs in future where some part of state is copied but not all.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44832 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #30524: documentation example code for bge.types.KX_MeshProxy did not work,
using fix suggested by Ryan King.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44833 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #30496: Bugs and crashes about "make links modifers" function.

Was missed check for if modifier is available for particular object type
which ended up with unpredictable results when modifier which isn't supported
yet for some object type as linked to that object type.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44834 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for lasso gestures. After executing the modal gesture operator the list of gesture points is copied to the operator "path" id property, which is simply a collection of points. This list must be cleared before adding new lasso points to it, since operator properties are now stored after each execution. Noticed by Olivier Amrein (oenvoyage) on IRC.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44835 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #30406: Hooks ignore Automatic handles setting in curves

Update handles positions after applying modifiers which seems to be expected behavior.
The only currently unsolved issue is about updating aligned handles because this needs
to determine in which order handles need to be recalculated which currently depends on
selection flags and which is quite tricky to do when running modifiers and animation data,
so currently just not update their positions for now.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44836 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#30529] BMesh: Wrong Indizes of Faces

problem was bow-tie quads would add opposite normals together and result in zero vector which was used for projection.
Now is_quad_convex_v3() checks if quad contains 2 faces which point away from eachother when split by either direction.

Theres another fix for this bug which can be done since creating the face can use existing edges in the example given so it wont have to guess which order of verts to use.


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