code cleanup: avoid unneeded normalizations when joining tris -> quads, also correct assert with edge-collapse-decimate.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56188 954f8c5b-7b00-dc11-b283-0030488c597c
utility function volume_tetrahedron(), for mathutils and BLI math.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56189 954f8c5b-7b00-dc11-b283-0030488c597c
missed this previous commit (r56188), using normalized angle function.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56190 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for add nodes search box showing nasty "UUUUUUUU"-like entries with some python builds...

Workaround for an issue with python: strings generated by py scripts should also exist in python as long as they are used in C. Else C code may access freed memory.

Simply store the generated list of items in the class, for now. :/

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56191 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#35043] Camera view breaks with multiple scenes and the "view center camera" action.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56192 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for NULL pointer bug, reported by Jens Verwiebe in IRC. ED_node_tag_update_id tries to get a node tree from the active id pointer, but this only works for standard node types, not for pynodes.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56193 954f8c5b-7b00-dc11-b283-0030488c597c
Add Select More (ctrl np+) and Select Less (ctrl np-) to UV editor

These tools allow to extend or shrink uv selection like in edit mode, but also take selection mode, sync mode and sticky mode into account.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56194 954f8c5b-7b00-dc11-b283-0030488c597c
rigidbody: Add function to perform convex sweep test

This is a experimental collision detection function, so the API might
change in the future.

Note: The simulation needs to be stepped before this function can be
used, otherwise the rigid body world might not be valid.

Patch [#34989]  Bullet Convex sweep test API
by Vilem Novak (pildanovak), thanks!

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