code cleanup: use bools in UI and WM code, quiet some shadow warnings, remove unused function uiEmboss()


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55766 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for [#34754] "Revision 55527 provokes glitchy GLSL shadow map rendering" reported by Alain Ducharme. Per material uniforms and per object uniforms are now better separated.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55767 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: use bools, (float)sin/(float)cos -> sinf/cosf, more meaningful var names.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55768 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#34860] View in Weight Painting mode no longer rotates around active bone


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55769 954f8c5b-7b00-dc11-b283-0030488c597c
improved method of getting the tangent axis from a bmesh triangle,
rather then getting the longest edge, get the edge which which is most different from the 2 others ends up giving more useful results: for an isosceles triangle it returns the base weather its longer or shorter then the other sides.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55770 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#34802] Individual Transformation Confusing in Edit Mode

Individual transformation now works in editmode mesh faces/edge, armature bones and metaballs.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55771 954f8c5b-7b00-dc11-b283-0030488c597c
fix for error in previous commit where the center would not be set in some cases, also use bools in more plaes.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55772 954f8c5b-7b00-dc11-b283-0030488c597c
Clip editor prefetch changes

Made it an operator instead of automatic prefetching.
Filling the whole memory with frames is not always
desired behavior.

Now prefetching is available via P-key, or from Clip
panel in toolbox or from Clip menu.

Also enabled prefetching for non-proxied movies.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55773 954f8c5b-7b00-dc11-b283-0030488c597c
Changes to cache invalidation policy for movie clips

- When changing clip in clip editor, remove all frames
  from it's cache to free memory for new clip.

- When changing proxy render settings, free cache as well.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55774 954f8c5b-7b00-dc11-b283-0030488c597c
metaballs were not scaling/rotating about their own centers when V3D_LOCAL was used.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55775 954f8c5b-7b00-dc11-b283-0030488c597c
Fix blenderplayer (missing stub...).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55777 954f8c5b-7b00-dc11-b283-0030488c597c
Use GLSL display for compositor backdrop and sequencer preview

Now only background images remained to be ported. Plus implement
GLSL for dithering and RGB curves.

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

It was only used for movie clips prefetching, no need
in it nowadays.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55779 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34863: bge.render.makeScreenshot from Blender was only saving PNG files,
while the docs said it followed the settings in the Output panel, other file
formats work now.

Benderplayer still only saves PNG now as documented, but I cleaned up the code
there to reuse existing imbuf functions rather than using own libpng code.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55781 954f8c5b-7b00-dc11-b283-0030488c597c
fix for referencing freed memory when rendering materials (could crash material preview).


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

- "Add node" was showing on wrong location when used via pulldown menus.
  Now this option will put the nodes in center of the view.

- The Curves widget was making itself smaller/bigger based on width of region.
  That messes up the layout engine now - especially the code that checks if
  there's a scroller needed or not (it went into an eternal feedback loop).

  Now this widget has fixed height (like the other larger widgets).

  Better would be to allow such large widgets to be scaled vertically individually.
  That's for the todo!



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55783 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: use bools in interface handlers, dont show translation menu when right clicking on splash, use less confusing args for copy/paste function.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55784 954f8c5b-7b00-dc11-b283-0030488c597c
Jump to start/end of tracked segment works in Mask editing mode now.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55785 954f8c5b-7b00-dc11-b283-0030488c597c
Release Logs:
* Readme and release links for upcoming Blender 2.67. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55786 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: py ui


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