Cloth:
- Triangulate Cloth Mesh for collisions
- Speed up collisions
- Remove EL Topo code
- Prepare code to incooperate El Topo self collisions (TODO next commits)


TODO:
----------
- Triangulation: Is custom data/uv preserved correctly?
- Use MPoly not tessface?

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46654 954f8c5b-7b00-dc11-b283-0030488c597c
Fix El Topo:
- Library compile errors
- 2 Bugs (have been reported to lib owner)
- LAPACK for cmake

TODO:
- Scons is still missing LAPACK lib define
- Do other platforms got LAPACK lib? 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46655 954f8c5b-7b00-dc11-b283-0030488c597c
Fix own compile error reported by brecht.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46656 954f8c5b-7b00-dc11-b283-0030488c597c
Fix [#31465] Segmentation Fault when Ctrl+Up/Down arrow to restore size of 3d Viewport.

Simply added a check for NULL pointer...

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

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46658 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #31449: multiple ClipEditor bug behaviour

Actually it wasn't a bug -- currently curve/dopesheet view are in separated
spaces, so to keep displaying data in sync it's needed to update all visible
clip editors when changing displaying clip datablock.

Changed logic here a bit, so current clip wouldn't be changes for clip editors
where view is set to CLIP, only dopesheet/graph views are getting updated.
Also do not update displaying clip datablock when changing it from curve/dopesheet.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46659 954f8c5b-7b00-dc11-b283-0030488c597c
Cloth: Revert triangulation after talking with brecht. 

People: Better use subsurf after cloth since you can get failing collisions otherwise!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46660 954f8c5b-7b00-dc11-b283-0030488c597c
A generalization of the modal node linking operator (for dragging from socket to socket).

This operator still had some built-in assumptions about the connectivity of input/output sockets (1-to-n in all current node systems). For future node systems (e.g. flow-based particles) and for general customizable nodes the operator is now fully symmetric and supports all kinds of connectivity limits (1:1, 1:n, m:1, m:n).

The operator data can also store a list of node links as opposed to a single link now, so that multiple links can be redirected at once. Holding the CTRL key when clicking a socket, all links from/to that socket are detached and can be moved to a different socket. This is useful for quickly appending a node without moving every individual link.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46661 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for [#31464] Crash when issuing command line render engine list ("-E help")


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46662 954f8c5b-7b00-dc11-b283-0030488c597c
Blender Internal Render: Split quads to predictable (vertices 0,1,3) triangles for animated meshes.

This solves problems with collisions beeing rendered different than in viewport.

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

Add repulse for near vertices. This code didn't make sense where it was before. Still leaving it also at the old place since it cannot hurt.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46664 954f8c5b-7b00-dc11-b283-0030488c597c
Fix: mirror modifier only mirrors first UV map (IRC report).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46667 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #31445: Surface "Control Points" menu is empty

It is possible to create hook for surfaces, so display this entry
in Control points menu.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46669 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for second part of #31445: Surface "Control Points" menu is empty

The only difference that it should be Select Linked All operator added to the menu

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46670 954f8c5b-7b00-dc11-b283-0030488c597c
Remove "Use Root Coordinates" from the interface

Seems it was never ported since 2.49 and currently makes no sense.

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

Patch provided by Matteo F. Vescovi, thanks!



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46672 954f8c5b-7b00-dc11-b283-0030488c597c
Update create_vert_edge_map() to match create_vert_poly_map().

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@46673 954f8c5b-7b00-dc11-b283-0030488c597c
Python/CurveMapping: add Curve Mapping functions to add/remove curve points,
evaluate the curve and update after changes.

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


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


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