== Sequencer ==

This fixes a bug in sequencer cut tool:

* if you cut two strips of the same name class (MVI_XXXX.MOV and MVI_XXXX.001) 
  the two new generated strips will end up with the same name.
  (easy test case: add a MOV file with it's accompanying audio track to the
  timeline and then cut both strips at once into two pieces)
  
* visible problem: your animation data will get messed up on the way, since
  the animation system doesn't know, which strip it should assign the
  animation.
  
Problem was caused by generating a new list of sequences within the 
cut_seq_list() function:

Since dupli_seq() can't see the members of the new list of sequences, it
won't be able to assign unique names in all cases.



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

Made my last fix a little bit faster and more elegant by not playing around 
with seq->tmp (only reseting it to NULL, like the old code).



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54619 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#34279] Python console: Selected region is not highlighted when using white background color


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54620 954f8c5b-7b00-dc11-b283-0030488c597c
resolve build error in MSVC, was using a GNU C extension for ternary conditional.


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

Calculate dependent area based on distortion model rather than
using 15% of image resolution for this.

Some assumptions here:

- We're assuming real-life camera calibration is used here
- Maximal undistortion delta would be achieved on frame boundary
- Distortion fully goes inside frame

This makes it possible to approximate margin for distortion by
checking undistortion delta across frame boundary and use it
for dependent area of interest.

We do not use any formula-based equation here because we're likely
support other distortion models and in that case it'll be stupid
to try detecting formula here.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54622 954f8c5b-7b00-dc11-b283-0030488c597c
Correction to cmake rules for libmv/ceres

libmv still requires optimization switched off because
of some incompatibility of SSBA and MSVC optimizer which
makes bundle adjustment work just wrong.

This shall not be an issue for Ceres and no need to
disable optimization for extern_ceres

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54623 954f8c5b-7b00-dc11-b283-0030488c597c
Correction to previous commit, needed to tweak some include
directories after shuffling order of subdirectories and
compiler flags tweaks.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54624 954f8c5b-7b00-dc11-b283-0030488c597c
make autocomplete use unicode character stepping (needed for bugfix).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54625 954f8c5b-7b00-dc11-b283-0030488c597c
Fix [#34300] Slider for list of particle systems (keyed particles) is not doing anything. Navigating a list of more than 5 elements requires keyboard.

Systematically adding some custom id to template_list using default UI_UL_list class, this one is commoly used more than once in an area, yielding collision issues if they do not have a custom id...

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54626 954f8c5b-7b00-dc11-b283-0030488c597c
Minor precision in template_list doc, to always use a custom list_id when using default UI_UL_list class.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54627 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34289: Wrong grid color on light background

Grid was blending with wrong theme color.

Since r53636 TH_HIGH_GRAD is used as a background and this
color shall be used for blending.

This is possible other usages of TH_BACK are wrong here as
well, but would want Antony to check on this.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54628 954f8c5b-7b00-dc11-b283-0030488c597c
pointcache: Set start frame soft limit to 1

Right now most simulations can't handle cache start frame < 1
unfortunately.

There are two main problems:
1. frame 0 is a special case so some simulations will just pop back to
their initial state on frame 0.
2. blender doesn't allow playing the animation starting from negative
start frames, so most simulations only work when baked and not during
regular playback.

Just change soft limit since sart frame < 1 can work in some cases, but
this needs to be fixed properly in the individual simulations if we
really want to allow it.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54629 954f8c5b-7b00-dc11-b283-0030488c597c
Make list_id mandatory when using default UI_UL_list class for a template_list.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54630 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34276: OpenGL render not doing color space conversion to linear correctly
with transparency, would show as too dark colors on edges.

Found a strange issue here though, the alpha value in the OpenGL render result
is not the same as the one specified in the material. It's not clear to me why
this happens, color space conversions should not influence the alpha channel.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54631 954f8c5b-7b00-dc11-b283-0030488c597c
fix bpy_extras.mesh_utils.edge_face_count_dict() helper api function.
it was using tessfaces when theres no need to.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54632 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34290: backface culling option in 3d view was not interacting well with the
option in the material in texture draw mode, now it always overrides the material.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54633 954f8c5b-7b00-dc11-b283-0030488c597c
Fix some popups being too small on retina display, among them the new image dialog.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54634 954f8c5b-7b00-dc11-b283-0030488c597c
Bug fix #34292

CTRL + MMB zoom in 2d editors now depends on 'max zoom' level. This makes
zooms in UI (very limited) go smoother, but for fcurve or timeline it's same.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54635 954f8c5b-7b00-dc11-b283-0030488c597c
checking for V3D_LOCAL was duplicated in transform.c, and both checks not quite correct.
- When checking edimode, make sure its mesh editmode.
- Graph editor supports this option but wasn't being checked.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54636 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#34303] Rotation fcurves don't work with transforming with individual centers


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