SVN maintenance.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54417 954f8c5b-7b00-dc11-b283-0030488c597c
BGE: Splitting up the bge.types docs so they are not all on the same page. This should make them much easier to browse.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54418 954f8c5b-7b00-dc11-b283-0030488c597c
Update translation extractor so ternary expressions are not merged.
eg: ("A" if test else "B")


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54419 954f8c5b-7b00-dc11-b283-0030488c597c
correct arg order in header for isect_point_tri_v2(), Made for confusing calltips.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54420 954f8c5b-7b00-dc11-b283-0030488c597c
revert removal of ternary operators from r54414


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54421 954f8c5b-7b00-dc11-b283-0030488c597c
BGE: Make sure we are writting to the depth buffer when rendering alpha polygons for shadows. Otherwise alpha shadows won't work\!

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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54423 954f8c5b-7b00-dc11-b283-0030488c597c
Another fix for r54414 (cleaner to "import" pgettext once at top of files, also now using usual '_' shortcut).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54424 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34186: VSE: Incorrect movie output when scene strip is muted by keyframe

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54425 954f8c5b-7b00-dc11-b283-0030488c597c
use import rather then assignment for loading '_' into scripts.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54426 954f8c5b-7b00-dc11-b283-0030488c597c
Actually, UI scripts should not use directly pgettext, but rather the iface or tooltip variants. Added those to bpy.app.translations, and used pgettext_iface.

(Did not add those when I created that module, because I did not thought we would actually need them in usual UI code, but turned out I was wrong).

Also made some optimizations in those py gettext funcs, when i18n is disabled at build time, no need to do pyobject -> cstring -> pyobject conversions!.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54428 954f8c5b-7b00-dc11-b283-0030488c597c
Added option to composite/viewer nodes which specifys whether alpha input
is straight or not (premultiplied is default).

This is useful in cases when you want to check on output of such nodes
as keying which does have straight alpha output.

Also added missing do_version code to previous compo do_versions.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54429 954f8c5b-7b00-dc11-b283-0030488c597c
We've reconsidered previous patch in IRC.

It's more useful to completely ignore alpha for display of straight
colors.

Supporting straight pipeline is possible, but not a topic for bcon4.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54430 954f8c5b-7b00-dc11-b283-0030488c597c
add option not to calculate tessellation faces when converting an object to a mesh. (OBJ export no longer needs, so save some CPU cycles and skip tessellation)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54431 954f8c5b-7b00-dc11-b283-0030488c597c
Added initializer in channel region for file window, makes it draw on first use
better (error was visible for factory startup on small screens)



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54432 954f8c5b-7b00-dc11-b283-0030488c597c
Scroller initialize for Image Window regions too.




git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54433 954f8c5b-7b00-dc11-b283-0030488c597c
Ensure that mask layer exists in sculpt mode after multires subdivide

Sculpt mode requires mask customdata layer for multires and ensures it
exists on entering sculpt mode. However, sculpt mode only considers
multires to be active if the level of subdivision is not zero, so it
does not add mask for unsubdivided multires meshes. If the multires
mesh is subdivided while in sculpt mode, no mask was present leading
to weird drawing and crash on use of the mask brush.

Fixed by doing the same thing in multires_subdivide_exec() that is
done in ED_object_modifier_add(), which is to check if sculpt mode is
active and add mask layer if so.

Fixes [#34190] Viewport artifacts when using Multiresolution modifier
projects.blender.org/tracker/index.php?func=detail&aid=34190&group_id=9&atid=498

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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54435 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34184: cycles speed vector pass should be zero when using motion blur,
instead it had value 10000.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54436 954f8c5b-7b00-dc11-b283-0030488c597c
Fix a few DPI / retina draw issues:

* Color picker cursor was too small, and color cirle was not smooth enough.
* Border select gesture cross before first click did not reach to the border
  of the window.
* Buttons were not drawing emboss properly (also for non-retina actually).
  Note it doesn't draw entirely right for aligned buttons, but this was also
  the case before it got broken.

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