fix [#33651] Spin tool destroys unselected loose vertex

bmesh.ops.extrude_face_region() didn't check for isolated verts (not connected to geometry), and removed them, happened for Ctrl+LMB extrude too.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53335 954f8c5b-7b00-dc11-b283-0030488c597c
Fix: rotation of uv islands during stitch did not take uv aspect ratio
of image into account, distorting the islands. Now properly scale the
components before rotating the island.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53336 954f8c5b-7b00-dc11-b283-0030488c597c
Fix: edge uv stitch mode did not average final position of uvs in
midpoint, non-snapping mode.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53337 954f8c5b-7b00-dc11-b283-0030488c597c
display the number of tri's in object mode status, often requested feature from users who model for realtime/game-engine output,
the total number of faces wasn't so useful and could be especially misleading with ngons.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53338 954f8c5b-7b00-dc11-b283-0030488c597c
remove realloc's during BMEdit_RecalcTessellation(), instead use poly_to_tri_count() to calculate how many triangles are needed.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53339 954f8c5b-7b00-dc11-b283-0030488c597c
correction for poly_to_tri_count() when given zero poly count.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53340 954f8c5b-7b00-dc11-b283-0030488c597c
add option to BLI_scanfill_calc() - BLI_SCANFILL_CALC_HOLES, gives some speedup for BMesh ngons which never have holes and ensures predictable triangle count (totvert - 2), which is needed for pre-calculating array size.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53341 954f8c5b-7b00-dc11-b283-0030488c597c
use keyword args for bmesh.update_edit_mesh(...)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53342 954f8c5b-7b00-dc11-b283-0030488c597c
validate operator names on startup (debug mode only)


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

- Packing .blend files

If you work a lot with dynamic linked .blend files ("Libraries"), it's always hard to
share your work with others (or for bug reports!).
This new option packs all used external .blend files, and - on save - combines it together
in one .blend file. You can save that file on any location.

Loading a packed .blend file then loads all library data usual - not editable.

Just use unpack to save out all linked .blend files. This will only save out the files
according the directory structure as was used on linking - relative to the current .blend.
It will create new directories, so be careful with unpacking when relative paths go up.

This feature also works fine for linked compressed .blend files.

It also works for many levels deep linked .blend hierarchies.

Access is hidden for now - I need to get some people to give it serious testing first.
You can find the options via spacebar search (try pack or unpack).

- Packed data and Undo

Now all packed data is excluded from the Undo buffer storage. Keeps undo memory smaller
and makes faster redo possible.




git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53344 954f8c5b-7b00-dc11-b283-0030488c597c
Bug fix, own collection.

"Add Group" was excluding linked library objects.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53345 954f8c5b-7b00-dc11-b283-0030488c597c
Fix in previous commit: forgot to free data from file reading.

(Campbell: we want the memory prints back!!!)



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53346 954f8c5b-7b00-dc11-b283-0030488c597c
Function IMB_onehalf was not freeing memory.
(Used for icon mipmap)



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

New "Blender file" viewer now shows names of libraries better. 



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53348 954f8c5b-7b00-dc11-b283-0030488c597c
Better error report when no camera is found.

While trying to render a RenderLayer from a linked scene, I couldnt tell why it wasnt doing anything. It just stopped rendering. Until I look on the console and see the No Camera print.

This commit replaces the simple terminal printf with an actual error report, that shows in both terminal and to the user:
http://pasteall.org/pic/show.php?id=42499

I believe this commit is pretty harmless, and only adds functionality. But feel free to remove it.



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