Allow creation of mask nodes in compositor with drag&drop of mask datablocks

Also remove superfluous "deselect all" operation in drag&drop for images


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@58511 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#36248] Crash using factor input on color mix node.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@58512 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#36247] Modifier Ocean (Geometry in Displace)- Subdivision Surface
regression in 2.68


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@58513 954f8c5b-7b00-dc11-b283-0030488c597c
fix/workaround for crash in ocean modifier when size is zero (causes invalid array index/lookups).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@58514 954f8c5b-7b00-dc11-b283-0030488c597c
hidden-wire draw option: always use the cage when masking out faces otherwise modifiers give odd results.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@58515 954f8c5b-7b00-dc11-b283-0030488c597c
BGE: Fix for [#34398] "«illegal operator» in Expression Controller" reported by Andrey Kashlak (andreymal)

The expressions system now supports the not operator on ints and floats.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@58516 954f8c5b-7b00-dc11-b283-0030488c597c
optimization: only calculate the normals for passing into derivedMesh foreachMappedVert/foreachMappedFaceCenter when needed,
this means in editmode with wire draw, face and vertex normals don't have to be calculated at all.

in most cases the normals are not used so add a flag that makes calculating them only for functions that need them.
also fix face normal calculation for CDDM, was using quad calculation for ngons too.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@58517 954f8c5b-7b00-dc11-b283-0030488c597c
remove the pointer from BLI_bitmap's typedef, 
hides that an arg passed is really an array which may be modified by other functions.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@58518 954f8c5b-7b00-dc11-b283-0030488c597c
use BLI_bitmap for crazyspace vertex tagging.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@58519 954f8c5b-7b00-dc11-b283-0030488c597c
fix own regression, OpenGL render with 'New Window' display-mode was broken
need to re-assign after opening a new window.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@58520 954f8c5b-7b00-dc11-b283-0030488c597c
BGE fix [#35472] Sun variance shadows does not work in game engine

The game engine had depth testing enabled when blurring the shadows which caused the blurring to not work properly.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@58523 954f8c5b-7b00-dc11-b283-0030488c597c
Minor UI typo fix... ;)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@58531 954f8c5b-7b00-dc11-b283-0030488c597c
replave isfinite with finite for msvc


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@58532 954f8c5b-7b00-dc11-b283-0030488c597c
prepare for 'a' bugfix release, splash and version bump.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@58534 954f8c5b-7b00-dc11-b283-0030488c597c
bge: de-duplicate cleanup code for empty mesh error case


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@58538 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #36225, spacing was halved and set to zero for texture paint brushes that had spacing of 1. Related to own changes to maintain spacing consistent between 2.67-2.66.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@58539 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: remove dead code, view3d panel was building a menu string and not using it.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@58540 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: remove unused material/texture naming functions.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@58541 954f8c5b-7b00-dc11-b283-0030488c597c
replace use of strcat() where the string offset is known.
also correct bad logic with converting a textblock to 3d-text, bytes-vs-number of chars wasn't handled right.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@58542 954f8c5b-7b00-dc11-b283-0030488c597c
fix for crash when unlinking a scene from the renderlayers, also no need for PROP_ID_SELF_CHECK here.


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