More fixes for install_deps.sh under ubuntu 10.04: git package is called "git-core", and 'apt-cache policy' returns a different result than newer versions when no package is found, changed the "available deb package" test to use "apt-cache show" instead.

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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55812 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#34881] Bad characters in error output (PyConsole) if trying to use a Bmesh UV Layer on a BMVert


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55813 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: quiet some warnings and style


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55815 954f8c5b-7b00-dc11-b283-0030488c597c
Keep brush overlays below panels in triple buffer mode.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55817 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34679: cycles image texture alpha fringes. New rule is now that color output
will not give straight RGB values if the alpha output is used, so that mixing with
a transparent BSDF gives the correct result.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55818 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34877: The render status feedback (progress bar) does not take into account specific Renderlayer samples

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55821 954f8c5b-7b00-dc11-b283-0030488c597c
Code cleanup / Cycles / Object Attributes:
* Change some long "else if" conditions into switch case. 

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

Global undo/redo now clears the local undo editmode stack entirely.

Error goes back to the 2.3 days, when undo was added.

Global undo refreshes the entire internal database, so all ID pointers get invalid.
This cases editmode undo storage to fail, if it uses ID pointers as well.

The error was that for any Mesh undo stack, a single global undo would make the
mesh stack corrupt. Back in edit mode, on undo you'd lose assigned texture images, 
or get bad crashes.

The downside is that people expect this to work... it's a fun feature to maintain
stacks separately. Having this instable is not acceptable though. Needs quite some
redesign work to solve it (like Dalai's kill-the-tface project :)



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55823 954f8c5b-7b00-dc11-b283-0030488c597c
Fix eternal compo refresh when having image editor with mask opened

This was a regression since 55719 and the reason is:

- image_refresh() will tag combo for re-calc when editing mask.
  This is a feature, so you could have immediate feedback on masking
  and compositing while editing mask. This is done from image_refresh().

- Color management sends NC_WINDOW notifier, so the whole window is
  updated when changing color management settings. Image editor used
  to refresh space when this notifier is sent.

  The same notifier is sent by compositor job to redraw all possible
  viewers.

Simple fix: don't refresh image space for NC_WINDOW, there's nothing
in image_refresh() which we would want to happen on NC_WINDOW event.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55824 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: include order


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55825 954f8c5b-7b00-dc11-b283-0030488c597c
Fix another part of #34877: cycles progress status text not showing correct with
per render layer samples in addition to the progress bar.

Also fixed job progress bar not working at all on high DPI / retina, was so small
the actual progress was not visible.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55826 954f8c5b-7b00-dc11-b283-0030488c597c
add BM_face_calc_center_mean_weighted() gives much better result at cost of some speed.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55827 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#34870] bmesh.ops.* parameter lists and descriptions don't show in PyConsole on auto-complete

more a feature request then a bug but nice to have __doc__ on bmesh operators.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55829 954f8c5b-7b00-dc11-b283-0030488c597c
patch [#34886] BMesh Individual Face Inset
from Francisco De La Cruz (xercesblue) with some simplifications to the patch.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55830 954f8c5b-7b00-dc11-b283-0030488c597c
bmesh operator rename inset -> inset_region


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55831 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34880: cycles motion blur render issue with some compilers. Actually is a bigger
problem where accessing float4 members with [] stops working due to optimizer, will
check that later.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55832 954f8c5b-7b00-dc11-b283-0030488c597c
patch [#34890] BMesh Poke Face.
by Francisco De La Cruz (xercesblue), with some of my own changes/improvements.

Converts faces to triangle-fans (useful to run on ngons).

To access select a group of faces and press "Alt+P" or alternatively select the operator from the Faces menu (Ctrl+F)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55833 954f8c5b-7b00-dc11-b283-0030488c597c
add relative offset option for poke tool.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@55834 954f8c5b-7b00-dc11-b283-0030488c597c
ctrl+a select all in button field


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