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
- draw inner pressure circle for weightpaint, vertexpaint, projectpaint modes.
- only draw pressure circle if the pressure is used for brush size.
- remove 'last-pressure' workaround for project paint, its no longer needed.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53872 954f8c5b-7b00-dc11-b283-0030488c597c
fix for own bug introduced when splitting up vertex slide function.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53873 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#33894] Viewport heavily distorted

The SmoothView operator was mixing up source-view and original-view parameters cleanup this operator and add 'original' view settings store.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53874 954f8c5b-7b00-dc11-b283-0030488c597c
Accidentally added commented line when testing smoothview fix.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53875 954f8c5b-7b00-dc11-b283-0030488c597c
minor changes to view3d
- BKE_camera_params_from_object now sets the lens to 35 if the object isnt a camera/lamp, without this the view3d lens would be used in camera view.
- running smooth-view multiple times now stores the initial user view rather then over-writing from the current state each time re-smoothview runs.
- redraw panels after smoothview finishes.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53876 954f8c5b-7b00-dc11-b283-0030488c597c
include svn revision in the crash log, also free smoothview on the off-chance you manage to exit blender while the view is moving :)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53877 954f8c5b-7b00-dc11-b283-0030488c597c
Bug fix #33892

HiDPI "retina" mode didn't work for "Continuous Grab" yet.

Note; this mode works by having different coordinate systems
for pixels and window/mouse coords. I really hope future
HiDPI implementations use the same trick.



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