[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@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@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@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@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@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@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@56446 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35149: solidify modifier + vertex parent not working after going in and out
of editmode on the child object.

Problem was that the object custom data mask was not taken into account when
rebuilding the derivedmesh in some cases, which is needed for the derivedmesh
to contain the mapping back to the original vertices. Now this data mask is
used for any derivedmesh build that will be cached.

Also problematic was that the datamask for the active object was applied to
all objects in the scene, which caused the parent object to be recalculated
when it didn't need to be. Now this datamask is only used for the active object.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@56447 954f8c5b-7b00-dc11-b283-0030488c597c
Fix missing brush cursor redraw for texture paint when no pixels changed in the
image, no images need to be refreshed then but the cursors needs to be redrawn
still. Otherwise it gets stuck, especially annoying in unexpected cases where the
mask has reached the maximum for all pixels in the brush.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@56448 954f8c5b-7b00-dc11-b283-0030488c597c
Fix Show Brush button being missing from the UI for paint modes, the feature was
already implemented, it's in the Appearance panel now. Also added that panel to
the image editor now since it's relevant there too.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@56449 954f8c5b-7b00-dc11-b283-0030488c597c
fix error running ED_view3d_project_float_v3_m4 on 2d vec (thanks Sergey for pointing out!), also remove redundant vector copy in knife project.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@56450 954f8c5b-7b00-dc11-b283-0030488c597c
This should at least prevent crash in [#35172]...

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@56451 954f8c5b-7b00-dc11-b283-0030488c597c
Actually, this should do better, sorry for the noise :/

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@56452 954f8c5b-7b00-dc11-b283-0030488c597c
edge_inside_circle was doing redundant float -> int -> float conversion, also dist_squared_to_line_segment_v2 is quite simple so remove radius checks.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@56453 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35081: opening .blend files with chinese characters not working. For
compressed files we were not passing the full wide char path to zlib, so not
all file names worked. Now we use gzopen_w available in new zlib versions.

Patch by Tamito Kajiyama, I added an extra check for the zlib version so it
keeps compiling with older versions for now.


For platform maintainers:

Part of this commit are zlib 1.2.8 libraries for windows 32 bit. We still
need update libraries for windows 64 bit and mingw. There's a readme.txt
and build.bat included with instructions on how to build.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@56454 954f8c5b-7b00-dc11-b283-0030488c597c
Some minor cleanup/polish...

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@56455 954f8c5b-7b00-dc11-b283-0030488c597c
Fix 2D painting gave squares rather than a disk for the "Max" curve falloff shape.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@56458 954f8c5b-7b00-dc11-b283-0030488c597c
make rna layer access less cryptic by using ARRAY_HAS_ITEM(), modified this to use unsigned offset.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@56459 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#34609] mesh.getVertex doesn't work as spected with poly.getMaterialIndex() and poly vertex indexes
revert r22906 (own old commit, was incorrectly trying to make vertex indices absolute)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@56460 954f8c5b-7b00-dc11-b283-0030488c597c
remove re-allocations while building weight paint color array, move button to show weightpaint below other overlay buttons in the 'Mesh Display' panel.


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