fix [#30063] Weight Paint + Pose Mode: [m] key does not toggle Face Selection Masking

disallow some pose operators when weight paint mode is enabled.


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50459 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: move vertex and face picking functions into meshtools.c


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50460 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: header had many incorrect sections for function/file, also rename mouse_mesh() --> EDBM_select_pick()


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50461 954f8c5b-7b00-dc11-b283-0030488c597c
remove makeDerivedMesh from ED_mesh_pick_face(), this was added 44256 (bmesh merge), but is pretty bad (rebuilding entire derived mesh to pick a face), tested with subsurf modifier, sintel mesh - it works ok without it.
Also - other select modes like border-select dont do this, so looks safe to disable.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50462 954f8c5b-7b00-dc11-b283-0030488c597c
fix Shift+LMB select when in weight-vertex-select mode. (it was mixing up vert/face index values and didnt work at all)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50463 954f8c5b-7b00-dc11-b283-0030488c597c
fixes for weight paint mode:
- sample weight didnt work when the object was transformed.
- sample weight didnt work when vertex selection was enabled.
- 'All faces' option is used by weight paint mode, but there was no UI access.

add ED_mesh_pick_face_vert(). which uses the face selection buffer but returns the closest vertex.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50464 954f8c5b-7b00-dc11-b283-0030488c597c
minor improvements to rip
- rip tool didnt select the best edge to rip for wire verts (no connected faces)
- ripping one vert with 2 edges connected didnt work.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50465 954f8c5b-7b00-dc11-b283-0030488c597c
minor fix for previous commit. ripping a vert-edge connected to a face would always choose the face even if the mouse is closer to the edge, now check both edges and faces when ripping from a non wire vertex


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50466 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for order of creating mesh and filling in SculptSession

This would use proper draw_pbvh for initially calculated PBVH.

Wasn't harmful since this flag used to be updated form update_mesh_elements,
but it's still better to have things consistent all over.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50468 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for Cycles (CUDA) compilation (again ...). Moved the AttributeStandard enum typedef and the attribute_standard_name mapping function to util_attribute/util_types headers, so they can properly be used by kernel and render files alike. This should avoid any std C includes which are not available in CUDA. Thanks to Sergey for help!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50469 954f8c5b-7b00-dc11-b283-0030488c597c
initial retina support for osx \ to take effect you must perhaps logout/in \i prefer in terminal: /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -v -f

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

Note: looks like we do not have hebrew chars in current font... More FontForge fun ahead. :/

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@50472 954f8c5b-7b00-dc11-b283-0030488c597c
New i18n font file for Blender, now including Hebrew charset!

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

This fixes [#32399] VSE doesn't show last 3 frames of Quicktime movie.

Some decoders store frames internally until EOF.
So one has to feed the decoding engine with empty packets after EOF
until all frames could be extracted properly.



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