Fix #33539: shift+numpad 2/4/8 shortcuts for zoom in image and clip editor
don't work in Windows. These shortcuts are taken by the operating system,
so ctrl+numpad 2/4/8 now work as well and are the shortcuts shown in menus.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53015 954f8c5b-7b00-dc11-b283-0030488c597c
initialize static island colour display on reverting to default theme

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53016 954f8c5b-7b00-dc11-b283-0030488c597c
Restoring default theme made the panel regions opaque again.

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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53018 954f8c5b-7b00-dc11-b283-0030488c597c
Hi there, it has been a while, just curious if my SVN account still works :)
This commit is an attempt to improve collisions between moving Bullet rigid bodies using (concave) triangle mesh bounds.
Instead of using Gimpact, this we create a btCompoundShape with child shape tetrahedra derived from the surface triangles.
For each triangle, we add a fourth vertex using the centroid, shifting inwards using the triangle normal.
If the centroid hits an internal triangle, we stop. The default depth could be exposed as 'advanced' setting in the user interface.
This solution will be a slower than the original/gimpact solution, but a bit more reliable. 
In the future, it is better to add HACD, convex decomposition to Blender, for moving concave meshes.
See http://kmamou.blogspot.com and the Bullet SDK's Demos/ConvexDecompositionDemo.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53019 954f8c5b-7b00-dc11-b283-0030488c597c
style cleanup: stop the style checker script from complaining about '!*ptr'


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53020 954f8c5b-7b00-dc11-b283-0030488c597c
add checks to style checker script for 'a . b' and 'a []'
also use BLI_findindex for modifiers_indexInObject


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53021 954f8c5b-7b00-dc11-b283-0030488c597c
remove modifiers_indexInObject(), just call BLI_findindex directly.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53022 954f8c5b-7b00-dc11-b283-0030488c597c
prevent the text 3d cursor from z-fighting with the text.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53023 954f8c5b-7b00-dc11-b283-0030488c597c
avoid using strlen() for comparisons in for loops. for expanding whitespace in the text editor and ui paste.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53024 954f8c5b-7b00-dc11-b283-0030488c597c
Bugfix, irc collection:

With larger header sizes (via DPI setting), splitting an area horizontally (using
left-bottom corner widget, move up) stopped immediate after split, not allowing 
to drag it to a position.

Culprit was code to check minimum header size, and area operator using the same
flags. Now ScrVert has two flags - one for internal use, one for the tools to set.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53025 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles OSL minor optimizations: recycle shading context, don't do memory
allocations for trace data, avoid some virtual function calls. Only helps
a few percentages.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53026 954f8c5b-7b00-dc11-b283-0030488c597c
Classical mistake - fix a bug in 1 feature, but don't test the related ones :/

Previous commit broke dragging area edges.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53027 954f8c5b-7b00-dc11-b283-0030488c597c
Graah! Not using brains for quick fixes...



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53028 954f8c5b-7b00-dc11-b283-0030488c597c
OSX/availability: use of the numerical value instead of the symbol in the #if MAC_OS_X_VERSION_MIN_REQUIRED comparison clause: If the code is loaded on an older system that does not include the symbol definition, the comparison still works

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53029 954f8c5b-7b00-dc11-b283-0030488c597c
move bpath module from BLI to BKE, it was making many bad level calls into BKE.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53030 954f8c5b-7b00-dc11-b283-0030488c597c
move pbvh into BKE, it used many BKE bad level includes.

now blenlib/BLI doesn't depend on any blenkern/BKE functions,
there are still some bad level includes but these are only to access G.background and the blender version define.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53031 954f8c5b-7b00-dc11-b283-0030488c597c
use struct type for VPaintData.vertexcosnos rather then float*.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53032 954f8c5b-7b00-dc11-b283-0030488c597c
Finished themes for transparent Button regions in Blender.

Notes and image:
http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.66/Usability

- now each editor has own settings for "show panel header" and
  "show panel background", and colors+alpha for this.

- this setting used to be global for all editors, but it can conflict
  with looks of specific editors. 

- Now you can set for editors to show panels with a 100% transparent
  tool/properties region. 

Note: read XML theme files now might get an error, Campbell will fix.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53033 954f8c5b-7b00-dc11-b283-0030488c597c
Better tooltip for "Install Theme..."



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