style cleanup: bevel code, also remove unneeded flag setting.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45770 954f8c5b-7b00-dc11-b283-0030488c597c
fix bevel edge angle (wasnt hooked up to new code), vertex-bevel angle isnt working still


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45771 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #31007: text editor delete at end of last line did unnecessary undo push.
Patch by Justin Dailey, simplified a bit.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45773 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #31009: edge split did not split non-manifold edges correctly, it should
create a separate edge for each face.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45774 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #30998: copy to selected in properties editor not working for bones.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45775 954f8c5b-7b00-dc11-b283-0030488c597c
bmesh api function: BM_edge_face_tangent()
 was used by inset but make into an api function since scripts can use this too.


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45777 954f8c5b-7b00-dc11-b283-0030488c597c
BMESH_TODO: xsort of vertices working again.

This commits adds a new function which can remap vertices/edges/faces of a BMesh in a new given order:
void BM_mesh_remap(BMesh *bm, int *vert_idx, int *edge_idx, int *face_idx)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45779 954f8c5b-7b00-dc11-b283-0030488c597c
grrr, dummy comment (well, no more relevant) sneaked in previous commit, sorry :/

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45780 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: first step to replace BM_ITER BM_ITER_INDEX macros.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45781 954f8c5b-7b00-dc11-b283-0030488c597c
For bug #30931, change knife hardcoded colors to ones derived from theme.

For now, just reusing some theme colors that are there for other reasons
but matched approximately the colors used now.
Except that cut lines are now purple-violet, so that they contrast
with grid and edges better, especially in wireframe.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45782 954f8c5b-7b00-dc11-b283-0030488c597c
remove BM_ITER, BM_ITER_INDEX macros, use ELEM or MESH variants only (the maceros had unused args in both cases).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45783 954f8c5b-7b00-dc11-b283-0030488c597c
Change knife header to reflect current key binding (RMB cancels now).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45784 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: remove unused BMesh args.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45785 954f8c5b-7b00-dc11-b283-0030488c597c
Fix exposure being applied to cycles AO pass.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45786 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #31016: rigid body joint constraint in game engine did not respect constraint
enable/disable option.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45787 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#31015] Rip has weird results in vertex selection mode vs face 


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45788 954f8c5b-7b00-dc11-b283-0030488c597c
bmesh rip: when there are selected faces call region_to_loop before ripping. gives better results then previous fix when there are selected faces as apart of an edge selection.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45789 954f8c5b-7b00-dc11-b283-0030488c597c
committed check by mistake, its not needed.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@45790 954f8c5b-7b00-dc11-b283-0030488c597c
BMESH_TODO: randomize vertices working again.

That whole "element re-arrange" area could use some love, though (e.g. make a single vert operator with more options, as faces; and make faces work in edit mode, probably no more reasons to switch to object mode?). Post-release TODO, anyway.

Also spotted a glitch in BLI_rand code, imho, which makes first element of an array not guarantied to be shuffled by BLI_array_randomize()... No correction though, as this might/would affect other parts of the code!

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