Alpha mask textures porting part 1: Support for projective texturing.
Also add random mapping to brushes.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55558 954f8c5b-7b00-dc11-b283-0030488c597c
patch [#34763] Center the View to the ZDepth Position under the Mouse Cursor
from Ralf Holzemer (cheleb)

use Fkey in object mode (since its a mode-less fly).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55559 954f8c5b-7b00-dc11-b283-0030488c597c
cancel face/edge creation operator if nothing is done (so it wont register or do an undo push)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55560 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34730, set special brush rotation to zero if brush is not rake or
anchored.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55561 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup:
- remove unused defines.
- quiet some shadow warnings.
- bevel, ifdef out some asserts that are too common.
- style


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55562 954f8c5b-7b00-dc11-b283-0030488c597c
beautify fill: skip testing invalid cases (2 triangles that _don't_ have 4 unique verts between them).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55563 954f8c5b-7b00-dc11-b283-0030488c597c
More new data names translation (most cases should be covered now).

Also done a few cleanup here and there...

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