code cleanup: move beautify into its own file (more changes coming)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55576 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: operator headers


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55577 954f8c5b-7b00-dc11-b283-0030488c597c
internal changes to beautify fill, use an array of edges that can be rotated, rather then looping over all edges each time.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55578 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#34603] ALT-F fails, freezes, CPU=100%

The way beauty fill was working was too fragile and prone to eternal loops,
Solution used is to is to store previous states and ensure edges don't get rotated back into those.

Also added an optimization to avoid testing the same edge rotation many times - using edge tags to only re-test edge rotations around areas that have been modified.


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55582 954f8c5b-7b00-dc11-b283-0030488c597c
edit to VIEW3D_OT_view_center_pick
- pan when nothing is under the mouse
- use key binding alt+f


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55583 954f8c5b-7b00-dc11-b283-0030488c597c
misc minor changes
- make it clear that navmesh visualize option only works in path mode.
- use 2 decimal places for motion-blur shutter speed (user request).
- use 'const' for some bmesh functions.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55584 954f8c5b-7b00-dc11-b283-0030488c597c
improve beauty-fill tool for non-flat triangles.
Project the triangle pair into 2d coords before measuring.

before/after - http://www.graphicall.org/ftp/ideasman42/beauty_fill_fix.png

note: I committed this r54403 but it caused eternal looping so I reverted for 2.66 release.
ran extensive tests and its not giving problems so re-applying this improvement.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55585 954f8c5b-7b00-dc11-b283-0030488c597c
replace view3d_get_view_aligned_coordinate with ED_view3d_win_to_3d_int()


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55586 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#34698] Axis Locking works incorrect
don't do projection when constraints are used.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55587 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#34658] GreasePencil eraser deletes strokes through geometry, surfacemode

add depth check to grease pencil eraser when xray option is disabled.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55588 954f8c5b-7b00-dc11-b283-0030488c597c
style cleanup:
also rename mesh_getVertexCos() --> BKE_mesh_vertexCos_get() to match curve function.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55589 954f8c5b-7b00-dc11-b283-0030488c597c
grease pencil xray option wasn't being applied to single points in the 3d view.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55590 954f8c5b-7b00-dc11-b283-0030488c597c
grease pencil eraser mouse-wheel resize was inverted compared to circle-select.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55591 954f8c5b-7b00-dc11-b283-0030488c597c
Better fix for "To Sphere" crashing in Image editor. It appeared to be in use for
mask/uv modes. 



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55597 954f8c5b-7b00-dc11-b283-0030488c597c
Correction to recent prefetch commit

When using movie as a clip no need to prefetch in cases
no proxies are sued at this moment.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55598 954f8c5b-7b00-dc11-b283-0030488c597c
I18n: various "new data translation" fixes...

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

Brought back old tools "Remove Gap(s)" and "Insert Gap".
It's actually one of the first tools I ever coded for it in 90ies, so useful!

* Remove Gap(s)

This checks if there's no strip at a given position, and slides all strips
together to the left, until the gap is closed.

- BackSpace key, remove gap at current frame (or first gap at right of frame)
- SHIFT+BackSpace, remove all gaps at or to right of current frame.

* Insert Gap

Shifts all strips to right of current frame with 10 frames. (Amount can be
set in Toolbar redo panel).




git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55600 954f8c5b-7b00-dc11-b283-0030488c597c
Wrong soft/hard limits used in r55600

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55601 954f8c5b-7b00-dc11-b283-0030488c597c
Fix regression introduced by svn rev55545

After this revision BLI_stringdec worked incorrect
in cases there's no digits in original file name,
making head one character shorter than it should be.

Time to cover BLI with unit-tests?

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