SVN maintenance.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45727 954f8c5b-7b00-dc11-b283-0030488c597c
bmesh api: minor simplify & cleanup
- add BM_face_edge_share_loop(f, e) -- edge version of existing BM_face_vert_share_loop(f, v)
- simplify BM_edge_ordered_verts_ex(), check could be reduced.
- use BM_ELEM_INTERNAL_TAG for bmesh_jfke(), not BM_ELEM_TAG to avoid clobbering tagged data tools might use.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45728 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: minor edits to bmesh_jfke(), move simple checks first.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45729 954f8c5b-7b00-dc11-b283-0030488c597c
error in previous commit


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45730 954f8c5b-7b00-dc11-b283-0030488c597c
fix for own error in recent scanfill updates, scanfill can hang if run on a polygon with no area.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45731 954f8c5b-7b00-dc11-b283-0030488c597c
remove unneeded check to bevel, BM_vert_is_manifold() already checks all edges are manifold.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45732 954f8c5b-7b00-dc11-b283-0030488c597c
fix error in last commit. Misunderstood BM_vert_is_manifold(), added some comments.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45733 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: replace use of BM_edge_face_count with BM_edge_is_manifold and BM_edge_is_boundary


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45734 954f8c5b-7b00-dc11-b283-0030488c597c
more replacement for BM_edge_face_count() use.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45735 954f8c5b-7b00-dc11-b283-0030488c597c
bmesh: fix own bug in BM_vert_collapse_faces() with option 'kill_degenerate_faces', was removing data as it iterated, would crash in some cases.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45736 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#30921] Bevel modifier's is not work correctly with bevel weights

replace dissolve function with one from 2.62 (updated for the new bmesh api).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45737 954f8c5b-7b00-dc11-b283-0030488c597c
add missing NULL check for BM_vert_collapse_faces(), could crash in rare cases.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45739 954f8c5b-7b00-dc11-b283-0030488c597c
Fix redo not working correct after keyboard input for shear, shrink/flatten,
push/pull, edge slide tools. Patch by Nicholas Rishel.
 


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45740 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#30995] Wavefront obj. file export/import issue with splited edge


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

also add code cleanup script which runs uncrustify and then undoes trailing whitespace edits (reducing diff noise)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45742 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#30994] Extruding faces gives bad UV's

this had strange logic, there was no need to loop over all face loops.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45743 954f8c5b-7b00-dc11-b283-0030488c597c
fix for eternal loop in scanfill,

The cause for this is bmesh faces which have zero area have their normals set to a fake value (Z-Up), this would break scanfill, possible fixes are to calculate the faces normal each time or tag as invalid but its easiest to avoid the eternal loop with an extra test.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45747 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: replace magic numbers in scanfill with defines, also use some vector functions where possible


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45749 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: more minor changes to scanfill


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45750 954f8c5b-7b00-dc11-b283-0030488c597c
correct ifdef'd scanfill code, incase someone wants to test.


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