Update to i18n tools (new [CTX_]DATA_ macros, and some more exceptions to spell check...).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55565 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34758, another Crash with NodeGroup. Took a while to get to the bottom, but the root of the issue was that nested node groups (groups inside other groups) were ungrouped ("inlined") repeatedly. This lead to preview operations being added to the same group more than once, and the redundant preview operations (beside working on the same preview buffer) did not get their correct resolution set. This in turn would then lead to previews writing beyond allocated size and causing corrupted memory + crash.

Simple fix: don't expand node groups more than once.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55566 954f8c5b-7b00-dc11-b283-0030488c597c
Bugfix [#34749] Fluid domain > 10GB crashes Blender - out of memory

I am unsure if I did catch all problematic code but I ran out of memorybefore the sim started ;)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55567 954f8c5b-7b00-dc11-b283-0030488c597c
I18n: use id_windowmanager context for keymap idnames. Solves some issues with those names (notably "Clip" one, and "Screen" too) in some translations. Also move "Key" as "Keyboard" (opposed to "Keyframe") to same context.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55568 954f8c5b-7b00-dc11-b283-0030488c597c
Fix to EnumProperty doc (content of items tuples was rather fuzzy, ways how these "parameters" are interpreted are rather strange, current text should now reflect exactly code's behavior).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55569 954f8c5b-7b00-dc11-b283-0030488c597c
Better handing of frames below actual sequence range

When trying to load file below actual sequence range
(like trying to load file for scene frame 10 when clip's
start frame is 20) first frame from file sequence is used.

Before this change first file used to be loaded for every
scene frame below start frame, which polluted memory with
unwanted data.

Now first frame would be loaded only once in this case.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55570 954f8c5b-7b00-dc11-b283-0030488c597c
Clip editor prefetching changes

Now prefetching happens from cursor up to scene end frame
and then from cursor down to scene start frame.

Also disabled prefetching for non-unidistorted proxies
because of issues with timecodes (seek horribly fails
in some cases). This seek need to be fixed since it's
actually happens for manual timeline scrubbing as well,
but that's another story..

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

On screen/area refresh calls the header scroll offset was cleared too. 
Probably an old remainder of early 2.5 coding. Should be not needed so much.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55572 954f8c5b-7b00-dc11-b283-0030488c597c
Fix [#34716] Change Trim Duration (soft) value nothing happening. until mouse drag footage(image sequence)

As those two properties do not need a custom set func, yet need recalc of strips drawing/positions in addition to usual rna_Sequencer_update() (cache invalidating), I renamed rna_Sequence_frame_change_update to do_sequence_frame_change_update, and made a new rna_Sequence_frame_change_update which is directly usable as RNA update func, and call both the strip and cache update funcs.

Thanks to Sergey for advices!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55573 954f8c5b-7b00-dc11-b283-0030488c597c
Bug report, IRC:

Operator "To Sphere" should only be allowed to be called in 3d view.
Crashed in Image editor.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55574 954f8c5b-7b00-dc11-b283-0030488c597c
fix for missing redraw in own commit r55554 (Ctrl+F text editor find).
since an event wasn't added to the queue no redraws we're done when the panel was already open, instead use a notifier.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55575 954f8c5b-7b00-dc11-b283-0030488c597c
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