changes to ruler
- click-drag adds a ruler if there are none.
- pressing enter stores the ruler for re-use when activating again (saves as a grease-pencil layer).
- add to toolbar.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55120 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: use bool's for snapping functions.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55121 954f8c5b-7b00-dc11-b283-0030488c597c
expose obrel_is_recursive_child in BKE_object.h and rename to BKE_object_is_child_recursive()


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55122 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: favor braces when blocks have mixed brace use.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55123 954f8c5b-7b00-dc11-b283-0030488c597c
use 'bool' for BLI_/BKE_ functions.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55124 954f8c5b-7b00-dc11-b283-0030488c597c
remove unneeded string formatting for bli_adddirstrings(), noted by Lawrence D'Oliveiro.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55125 954f8c5b-7b00-dc11-b283-0030488c597c
Added Recursive select/deselect to outliner (CTRL+LMB)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55126 954f8c5b-7b00-dc11-b283-0030488c597c
patch [#34103] fileops_recursive_operation.patch
from Lawrence D'Oliveiro (ldo)

Fix potential memory leaks in recursive_operation while simplifying cleanup logic.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55127 954f8c5b-7b00-dc11-b283-0030488c597c
comment unused BLI_move() function, also fixed error where it would delete the file even if renaming failed.
- found when testing recursive_operation().


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55128 954f8c5b-7b00-dc11-b283-0030488c597c
ruler3d: replace ED_view3d_cursor3d_position() with lower level function view3d_get_view_aligned_coordinate()


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55129 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34574: Empty Movie Clip Editor crash on select

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55130 954f8c5b-7b00-dc11-b283-0030488c597c
Use poroper release for images buffers acquired from an Image ID
when drawing viewport background images.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55131 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: move runtime var zfac out of RegionView3D. rename initgrabz() -> ED_view3d_calc_zfac() and have it return the zfac to use.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55132 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: was using var named 'in' for output.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55133 954f8c5b-7b00-dc11-b283-0030488c597c
Outliner: Added recursive select/deselect (CTRL+LMB) and extend (CTRL+SHIFT+LMB)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55134 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for recent compo border commit

Viewer operations shall be aware of border as well, otherwise
CPU would be busy for a while full compo isn't done for just
a small preview image in a node.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55135 954f8c5b-7b00-dc11-b283-0030488c597c
bmesh: face creation from a single selected vertex/edge, now extends the selection along wire/boundary edges and makes a face.
Selection is specifically so you can continuously fill in holes by tapping the Fkey.

Similar functionality to the F2 addon, however the mouse location isn't used.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55136 954f8c5b-7b00-dc11-b283-0030488c597c
bmesh operator 'contextual_create' wasn't flagging single faces that were created (caused glitch in some cases with recent create-select functionality).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55137 954f8c5b-7b00-dc11-b283-0030488c597c
Blender Anim player fixes:

- RGBA images (without alpha) now don't draw with alpha blending enabled
- Checkerboard backdrop for alpha images now shows on size of image
- Window always clears now, in very dark grey (so you can see black)
- On resizing window, the aspect of image is being kept, keeping the
  image always visible within the window frame
- Image now centers OK. 
- On pause, playback now halts (it was drawing same image all the time)




git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55138 954f8c5b-7b00-dc11-b283-0030488c597c
add inline function mul_project_m4_v3_zfac() to get the z-depth value from a vector & mat4x4


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