grid-fill now detects non-square grids (this is what users would expect)

http://www.graphicall.org/ftp/ideasman42/gridfill_detect_nonsquare.png


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@59860 954f8c5b-7b00-dc11-b283-0030488c597c
BGE Fix: [#32360] Standalone Player switches not working

Launching the player from the Blender UI now makes use of the "Debug Properties", "Framerate and Profile", and "Deprecation Warnings" options by setting the appropriate command line flags.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@59862 954f8c5b-7b00-dc11-b283-0030488c597c
fix for bug in GHOST/SDL, events dont always have a window (which ghost needs).
fallback to the window with the active opengl context.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@59863 954f8c5b-7b00-dc11-b283-0030488c597c
starting blenderplater wasnt flipping use_deprecation_warnings when it should, also use values directly without converting to ints.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@59864 954f8c5b-7b00-dc11-b283-0030488c597c
error in recent gridfill commit, calculating span last failed.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@59865 954f8c5b-7b00-dc11-b283-0030488c597c
fix for barycentric_weights_v2_quad() divide by zero when the location we're checking the weight of touches one of the weighting coords exactly.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@59866 954f8c5b-7b00-dc11-b283-0030488c597c
bmesh utility functions BM_face_as_array_loop_tri, BM_face_as_array_loop_quad
also set attributes for the header and remove debug print in mask.c


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@59867 954f8c5b-7b00-dc11-b283-0030488c597c
grid-fill support for customdata, so filled areas have UV's, vertex colors etc interpolated from the boundary.
also support cases where only some of the boundary edges have faces to interpolate from.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@59868 954f8c5b-7b00-dc11-b283-0030488c597c
On the second thought, no need to go between straight and premul when doing AA for plane warp node

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@59871 954f8c5b-7b00-dc11-b283-0030488c597c
Avoid tracks reallocation and planes traversal in tracks_map_merge

Would save us a bit of time when doing 2D tracking.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@59872 954f8c5b-7b00-dc11-b283-0030488c597c
Woops, minr style changes are needed.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@59873 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #36672: outliner allowed to toggle linked group visibility, which should not
be allowed because this is linked data, so any changes would not be saved.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@59878 954f8c5b-7b00-dc11-b283-0030488c597c
CMake and scons update to detect OS X 10.9, cmake patch by Jake Kauth.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@59879 954f8c5b-7b00-dc11-b283-0030488c597c
3D View: add shift+Z shortcut key to switch to Rendered draw mode.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@59880 954f8c5b-7b00-dc11-b283-0030488c597c
Code cleanup / Cycles:
* Some cleanup for disabled Volume code. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@59883 954f8c5b-7b00-dc11-b283-0030488c597c
rename cursor setting functions to make modal set/restore more clearly related functions.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@59902 954f8c5b-7b00-dc11-b283-0030488c597c
wrap cursor setting so python can make use of it, eg:
- win.cursor_set('WAIT')
- win.cursor_modal_set('TEXT')
- win.cursor_modal_restore()


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@59904 954f8c5b-7b00-dc11-b283-0030488c597c
avoid divide by zeto in node preview drawing.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@59908 954f8c5b-7b00-dc11-b283-0030488c597c
missing NULL check in recent commit, also skip some calculations in mean_value_half_tan functions for degenerate cases.


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