replace UV project modifier matrix calculation with BKE_camera_params_* functions, double checled combinations of aspect/scale/shift work as before --- but this reduces the likelyhood of discrepancies for sensor size (corner cases).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50805 954f8c5b-7b00-dc11-b283-0030488c597c
add a UV Project material option so UV's are calculated taking into account perspective matrix - previously this gave artifacts with lower poly meshes.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50806 954f8c5b-7b00-dc11-b283-0030488c597c
revert own commit r50501 (have a better way to implement this same feature)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50807 954f8c5b-7b00-dc11-b283-0030488c597c
Enable predictable menu key-chaining as with r50501.

The way it works now, navigation keys (up/down, number, a-z) - won't apply to a submenu if there are no active buttons in that menu, instead the parent menu gets the event.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50808 954f8c5b-7b00-dc11-b283-0030488c597c
rect/point clamping function: BLI_rct*_clamp_pt_v


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50809 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#32609] RGB Curves Mouse Pointer Problem

this was working as intended but users complained that the mouse cursor stayed in the same location after using the color picker and curves with continuous grab enabled.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50810 954f8c5b-7b00-dc11-b283-0030488c597c
Improvement to own commit r50810.

Add an optional ghost argument to set the new mouse location when un-grabbing. - without this the mouse would flicker at the old location before moving to the new location - when using the color picker for eg.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50811 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: remove/comment unused defines



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50812 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: make many functions static


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50813 954f8c5b-7b00-dc11-b283-0030488c597c
Revert a small part of r50813, so that we can build (actually, link) with Cycles!

Note: this is marked as hack/todo in cycles code, so it needs a proper fix, but at least it works, for now... ;)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50814 954f8c5b-7b00-dc11-b283-0030488c597c
More tweaks to sequencer Header bar: make overlay also available in mix mode, and OpenGL render buttons in all modes!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50815 954f8c5b-7b00-dc11-b283-0030488c597c
Fix [#32629] Checking "Invert Zoom Direction" doesn't change zoom in camera view.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50816 954f8c5b-7b00-dc11-b283-0030488c597c
Make "name" member of RNA KeymapItem struct return the translated name of the underlying operator. Else, op names are usually not translated in keymap part of the user preferences! Thx to Miklós Pomsár for pointing this bug. :)

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