bmesh: inset tool, access from face menu (Ctrl+F)

- Even option (like solidify even option)
- Relative option (insets based on lengths of surrounding edges)

TODO: merge tares when 2+ face corners meet but don't form a contiguous region.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44984 954f8c5b-7b00-dc11-b283-0030488c597c
bmesh inset:
improve inset code by not allocating an array the size of edges - instead count all inset edges and allocate an array only for those.
also fixes an error where edge lengths were being compared while the verts were being placed. (now do beforehand)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44987 954f8c5b-7b00-dc11-b283-0030488c597c
Grmml, dummy typo in previous UI message-fix commit… :/

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44988 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: bmesh api - make arg order consistent - htype before hflag or oflag.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44989 954f8c5b-7b00-dc11-b283-0030488c597c
style cleanup: + some spelling errors for inset


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44990 954f8c5b-7b00-dc11-b283-0030488c597c
bmesh inset:
  fix hole when 2+ faces a vert but no edges (would make a hole), now splice the verts back together.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44991 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for drag-n-drop images into sequencer: it was impossible to select files
from a file browser after dropping image strip from an external application.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44992 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #30594: UV editor transform tools did not show help/pivot line to indicate
transform center as it did in 2.49.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44993 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #30449: sampled motion blur not working with softbody.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44994 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #30456: transforming object with a hair particle system, on a frame after
the cache end frame would reset to the previous state on confirm. Was an issue
with object animation being evaluated unnecessarily, now make check more
precise.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44995 954f8c5b-7b00-dc11-b283-0030488c597c
Spelling of UI messages (then -> than).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44996 954f8c5b-7b00-dc11-b283-0030488c597c
fix for error reported on IRC, sorting zero sized lists would cause a crash.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44997 954f8c5b-7b00-dc11-b283-0030488c597c
style cleanup: minor change to bmesh py repr + comment on loop radial next/prev to avoid confusion.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44998 954f8c5b-7b00-dc11-b283-0030488c597c
Remove debug print in create_vert_poly_map

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@44999 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #30590: Crash in multires when undoing extrude [File incl.]

- Crash was caused by recursively copying directory into itself, fixed
  by switching from opendir() to scandir().
- Also do not try to unpack images which doesn't have name.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45000 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #30531: mirror modifier with vertex groups did not add both the left and
right groups to merged vertices, only one. This made the result asymmetric,
now merged vertices will be part of both groups with half weight.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45001 954f8c5b-7b00-dc11-b283-0030488c597c
Redraw data properties after selecting a bone.

This is so that selecting bones while in weight paint mode will show
the correct active vertex group.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45002 954f8c5b-7b00-dc11-b283-0030488c597c
bmesh inset:
  option to inset boundaries.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45003 954f8c5b-7b00-dc11-b283-0030488c597c
Fix format string warnings (gcc) by using string literals.

gcc 4.6 was giving warnings like this:
"warning: format not a string literal and no format arguments [-Wformat-security]"

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45004 954f8c5b-7b00-dc11-b283-0030488c597c
bmesh inset: outset option


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