draw the brush size with pressure applied (when the tablet is used), nice to see the actual size used.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53852 954f8c5b-7b00-dc11-b283-0030488c597c
Shape enhanced method exaggerates a shape using a Laplacian smoothing operator in the reverse direction.
http://wiki.blender.org/index.php/User:Apinzonf/shape_enhanced

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53853 954f8c5b-7b00-dc11-b283-0030488c597c
sculpt mode: there was no UI access to the brushes 'use_space' option, yet its used to draw the interface and by sculpting tool as well.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53854 954f8c5b-7b00-dc11-b283-0030488c597c
revert previous commit, the properties here are confusing since there are 2 rna properties to access the same value.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53855 954f8c5b-7b00-dc11-b283-0030488c597c
fix for airbrush not using tablet pressure (any brush with BRUSH_SPACE disabled).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53856 954f8c5b-7b00-dc11-b283-0030488c597c
optimize bmesh operations that use triangle BMFace's (dyn-topo and mesh conversion).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53857 954f8c5b-7b00-dc11-b283-0030488c597c
fix for GHOST/X11 using uninitialized memory for the tablets active state. (possible cause of reported glitches in tablet use).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53858 954f8c5b-7b00-dc11-b283-0030488c597c
speed-up dyn-topo by storing the edge-loops rather then edge-faces.
- no need for bm_triangle_other_vert_find(), the other vert is known relative to the loop.
- no need for bm_face_edge_backwards(), the verts are in order in the loop.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53859 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: double, float - conversion warnings.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53860 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: rename BMVert *v[3]; --> 'v_tri', since 'v' is normally for single verts.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53861 954f8c5b-7b00-dc11-b283-0030488c597c
fix bug in dyntopo - check to remove pbvh vert was always false.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53862 954f8c5b-7b00-dc11-b283-0030488c597c
minor speedup for dyntopo edge queue - replace iterator with while loop.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53863 954f8c5b-7b00-dc11-b283-0030488c597c
change to own commit r53852. use existing pressure member of UnifiedPaintSettings.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53864 954f8c5b-7b00-dc11-b283-0030488c597c
show a title in menus triggered by WM_OT_context_menu_enum, also show an icon when available.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53865 954f8c5b-7b00-dc11-b283-0030488c597c
Release Cycle:
* Readme and release log links for the Blender 2.66 release. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53866 954f8c5b-7b00-dc11-b283-0030488c597c
fix for arrow keys being reversed in the snap menu (Ctrl+Shift+Tab)
also - when expanding rna enums into existing menus - don't nest inside a row/column.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53867 954f8c5b-7b00-dc11-b283-0030488c597c
draw active+disabled menu-items, helps for keyboard navigation. 


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53868 954f8c5b-7b00-dc11-b283-0030488c597c
add NULL check for XInput device, since its possible only one is valid.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53869 954f8c5b-7b00-dc11-b283-0030488c597c
fix airbrush + tablet pressure bug.

Timer events used by the airbrush would always give a pressure of 1.0, ignoring the tablets real pressure in all paint modes.

Move tablet data into its own struct-member so it can be used with timer events.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53870 954f8c5b-7b00-dc11-b283-0030488c597c
change to pressure & sculpt mode:

Ignore size+pressure when the sculpt tool doesnt use dynamic size brushes (grab, thumb for eg).

The problem was if you didnt jab the stylus on the tablet hard enough you'd end up with a tiny brush since the initial pressure was used.


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