Fixes [#31577] Select N-th vertex/face/edge doesnt work
http://projects.blender.org/tracker/index.php?func=detail&aid=31577&group_id=9&atid=498

Also solves both TODOs in the commented code.

Loop select now calls mouse_mesh() to handle setting an active vertex/edge/face.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48105 954f8c5b-7b00-dc11-b283-0030488c597c
minor speedup for the glare compositor node
- pre calculate the UV dot product
- use image width and height converted to floats in the inner loop.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48107 954f8c5b-7b00-dc11-b283-0030488c597c
add in convenience var 'D = bpy.data' - to the python console, add note for C, D - in initial message.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48108 954f8c5b-7b00-dc11-b283-0030488c597c
add back blending for vertex and weight paint modes, you may want to keep the one brush and switch blending options.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48109 954f8c5b-7b00-dc11-b283-0030488c597c
Cleanup up space clip API:

- Remove clip/mask specific size/aspect getters, they shall just
  use the same size/aspect ratio.
- Made size getter (and some other public functions) accept context
  instead of SpaceClip. Currently only SpaceClip is being get from
  this context, but later it'll be helpful when adding support of
  editing mask without opening clip in clip editor (in this case
  using render resolution for mask would be ideal, but this
  requires knowing scene in size getter).
- Rearrange some functions in clip_editor.c for easier navigation
  in the file.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48111 954f8c5b-7b00-dc11-b283-0030488c597c
Grease pencil and manual calibration weren't aware of clip start frame

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48112 954f8c5b-7b00-dc11-b283-0030488c597c
Do not check result of BKE_tracking_marker_get -- it shall always
return valid marker. If not -- let blender crash, because that means
something went really bad and silencing this isn't good idea.

Also made mask parenting to tracking data aware of clip's start frame.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48113 954f8c5b-7b00-dc11-b283-0030488c597c
Store parent's initial position when setting mask's parent from the interface

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48114 954f8c5b-7b00-dc11-b283-0030488c597c
Silent masks "alloc new deform spline" debug print

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48117 954f8c5b-7b00-dc11-b283-0030488c597c
Added command line argument --debug-value

Useful when needed to set debug value (G.rt) on blender's startup

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48118 954f8c5b-7b00-dc11-b283-0030488c597c
removing from group now shows menu to select group to remove.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48119 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #31852: Sequencer duplicate cant move strips on Y axis in a meta

Issue was caused by some stuff happenign in wm_operator_finish() which uses
to somehow restore changes made by transformation invoke function.

Solved by not calling translation operator directly from duplication operator
(which is in fact really tricky) and use macros instead. This macros calls
duplication operator which simply duplicates strip, and then calls translation
operator.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48121 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #31883: cycles vectors pass rendering crash with some render layers using
it and others not.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48122 954f8c5b-7b00-dc11-b283-0030488c597c
Fix crash in compositing nodes with a node group with missing datablock, can
happen with library linking and missing files.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48123 954f8c5b-7b00-dc11-b283-0030488c597c
move the frame length to the end for sequence drawing (mango request, since often the name is clipped out entirely so only then length is seen)


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48127 954f8c5b-7b00-dc11-b283-0030488c597c
 * reset OpenCL innerloop size to 32.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48128 954f8c5b-7b00-dc11-b283-0030488c597c
fix for error with sequencer stip text drawing - was using unclamped handle sizes for the text bounds, this could be very wrong with long strips.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48129 954f8c5b-7b00-dc11-b283-0030488c597c
fix for use of 2 uninitialized vars in the tiles compositor.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@48133 954f8c5b-7b00-dc11-b283-0030488c597c
make mask handles draw with an outline - when outline option is enabled.


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