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
minor edits with recent commits, also avoid calling BKE_mesh_from_object() in vertex paint, just pass the mesh.


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

Removed unused panel colors (and panel text) from Themes.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53036 954f8c5b-7b00-dc11-b283-0030488c597c
Attempted fix #33546: GPU mipmap generation is not working on some ATI cards,
causing textures to be missing in textured draw mode. There is apparently a bug
in the ATI drivers, committed a workaround for that now.

http://www.opengl.org/wiki/Common_Mistakes#Automatic_mipmap_generation

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

Color Pickers, square versions, didn't draw the 'cursor' correctly.
Was missing colorprofile check.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53038 954f8c5b-7b00-dc11-b283-0030488c597c
OSX: makeKeyAndOrderFront would show window from orderedWindows list  on every loop, so use makeKeyWindow only to avoid flicker when closing app

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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53040 954f8c5b-7b00-dc11-b283-0030488c597c
Bugfix: [#33513] Transfer weights mixing up.
Removal of this line fixed the bug. 

But!

I suspect it opens up for an excaption.
I will try to identify the exception and handle it in a different way.
 


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53041 954f8c5b-7b00-dc11-b283-0030488c597c
Fix cycles build error with OSL disabled.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53042 954f8c5b-7b00-dc11-b283-0030488c597c
Changed some comments to make more sense.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53043 954f8c5b-7b00-dc11-b283-0030488c597c
Fixing name of a function to be consistent with the rest of the code.


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53045 954f8c5b-7b00-dc11-b283-0030488c597c
Reverting rev 53044 because it broke something and was wrong.
I also added comment to avoid this happening in the future.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53046 954f8c5b-7b00-dc11-b283-0030488c597c
error in 53006, moved into another keymap rather then just re-ordering.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53047 954f8c5b-7b00-dc11-b283-0030488c597c
add Matrix.normalized(), handy for transforming normals.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53048 954f8c5b-7b00-dc11-b283-0030488c597c
replace TypeError with Value error for matrix operations where the type is right but it can't succeed because of a property of the instance (normally the wrong col/row size).


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