Fix tiled overlay not matching up with stroke result in 2d painting.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56423 954f8c5b-7b00-dc11-b283-0030488c597c
remove direct freestyle data access from bmesh, was crashing and this should really only be done via customdata layer support.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56424 954f8c5b-7b00-dc11-b283-0030488c597c
fix for yet another off by one error in console code, could crash deleting words (but mostly it was hidden by guardedalloc), hopefully the last of this kind in console.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56425 954f8c5b-7b00-dc11-b283-0030488c597c
fix for exception in console auto-completing an object with __getitem__ but no __len__ (BMEdge).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56426 954f8c5b-7b00-dc11-b283-0030488c597c
fix for missing slot in edge bisect bmesh operator.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56427 954f8c5b-7b00-dc11-b283-0030488c597c
holding ctrl when using arrow keys in the text editor didn't navigate newlines.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56428 954f8c5b-7b00-dc11-b283-0030488c597c
remove headers from FRS_freestyle.h


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56429 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#35164] UV unwrapping crash blender
(own fail with misuse of alloca)


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56431 954f8c5b-7b00-dc11-b283-0030488c597c
Fix projection paint clone/soften/smear no longer working with textures,

Moved the code after the masking check so we can skip the texture lookup
if the pixel is done, is a bit faster. Also hide the color wheel for these
tools, only did it for 2D paint in previous commit.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56432 954f8c5b-7b00-dc11-b283-0030488c597c
use 'normal' orientation rather then 'local' with individual origins to use the per-element axis-matrix.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56433 954f8c5b-7b00-dc11-b283-0030488c597c
fix for select ungrouped vertices not flushing, also group select menu items more logically.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56434 954f8c5b-7b00-dc11-b283-0030488c597c
replace error reports with poll() function for editmesh select ungrouped


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56435 954f8c5b-7b00-dc11-b283-0030488c597c
[Bug #35108] Shortcuts 3dsmax blender 2.67RC

Quad View: ALT + W
Switch Wireframe / Solid: F3
Render: F10
Properties: F12
Ortho / perspective View: P
Zoom to selected center: Z
Select/ Deselect all: CTRL + A

in changing A hotkeys ctrl-a hotkeys are now ctrl-shift-a and GameEngine is now ctrl-alt-shift-p


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56439 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35166: texture paint mask texture stencil not scaling properly.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56440 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35171: crash rendering cube with two subsurf modifier in some circumstances.
Problem was actually integer overflow in the requested data layers (1 << 31) does
not fit in an integer, it only goes up to (1 << 31) - 1.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56441 954f8c5b-7b00-dc11-b283-0030488c597c
Fix missing brush texture mask in texture properties, for cycles. Handling this
properly with blender internal is probably for after release, when we can add
the same system to gather textures from brushes, modifiers, force fields, ...

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56442 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles / OSL:
* Add a few more OSL templates to the Text Editor, so people can use some of the OSL only shaders and closures.

* Temperature (Kelvin) to RGB converter
* Wavelength to RGB converter
* Ramp closure (Phong and Diffuse)
* Toon closure (Diffuse and Specular)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56444 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for bug reported by Thomas Dinges on IRC: OSL script node was not initializing the data_type variable for shader sockets and so tried to set a non-existing float RNA property, leading to failed assert.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56445 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for [#35116] Freestyle StringUtils::toAscii breakes non-ascii path values.

Just removed all calls of StringUtils::toAscii() as well as the function definitions.

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