code cleanup: unused vars, make other vars static.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55943 954f8c5b-7b00-dc11-b283-0030488c597c
correction to own recent changes to exitmode using axis-matrix, fallback to old behavior for editmodes where the axis-matrix isnt set (curve, surface, lattice)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55944 954f8c5b-7b00-dc11-b283-0030488c597c
Fluid threads: add a restore to former omp threadcount when baking is done, todo: default should be logical corecount

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55945 954f8c5b-7b00-dc11-b283-0030488c597c
Fluid threads: re-add an erratically forgotten line, fix typo, set default threadcount to logical threadcount of machine

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55946 954f8c5b-7b00-dc11-b283-0030488c597c
interpolate verts as well as loops for inset.
- add vertex option to BM_face_interp_from_face, also expose via python.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55947 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: unused defines, remove unused scanfill success value from BLI_scanfill_begin().


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55948 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#34947] Alt-F Fill not working
Regression in r54579.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55949 954f8c5b-7b00-dc11-b283-0030488c597c
fix own mistake in recent inset-interpolation option, some faces were not interpolating.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55950 954f8c5b-7b00-dc11-b283-0030488c597c
add 2d length functions for testing pixel coords. len_manhattan_v2_int, len_manhattan_v2v2_int


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55951 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#34936] Unable to select items using only the arrow keys

ignore small mouse motions for menu/search-box after using the keyboard to navigate.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55952 954f8c5b-7b00-dc11-b283-0030488c597c
fix for crash in own recent commit. searchbox's need their own keynav state since they won't always be in a uiPopupBlockHandle.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55953 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#34805] Bake action ignores parent motion

in fact this is more feature request.
add an option to bake a parented objects animation, then clear the parent and apply the action.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55954 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34948, bug in Cycles node groups. The proxy node maps used to identify external connections of node group nodes were having name clashes with input/output sockets of the same name, leading to invalid cyclic connections in the cycles shader graph that were subsequently removed (prints warnings in terminal). Solution is to use two separate maps for inputs and outputs so group node sockets can safely use the same identifier.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55955 954f8c5b-7b00-dc11-b283-0030488c597c
Use SWS_FULL_CHR_H_INT for SWS context for more accurate conversion

Suggestion by Bjeorn Sonnenschein from report #34755.

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

ray cast function, very useful to be able to cast rays into the scene for scripts.

  hit_co, hit_no, success = scene.ray_cast(start_co, end_co)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55957 954f8c5b-7b00-dc11-b283-0030488c597c
py api: minor change to operator attribute access, do identity comparison with None (no functional change).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55958 954f8c5b-7b00-dc11-b283-0030488c597c
make scene.ray_cast() behave like object.ray_cast(), add distance arg to snapObjectsRayEx().


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55959 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34923 Images that have their alpha calculated should not get de-premultiplied.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55960 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for material icon rendering with cycles

Materials icons used to miss transparent background
and were using world environment which didn't give
so nice results.

Reviewed by Brecht, thanks!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55961 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for Setup Tracking Scene operator

- Ported to new node add operator
- Alpha mode shall be set to Transparent

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