Fix for redundant multiple animation data items of the same line style in DopeSheet.
This could happen when a line style is shared by multiple linesets within a scene.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59787 954f8c5b-7b00-dc11-b283-0030488c597c
Fix cycles CUDA/OpenCL build error after recent change.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59788 954f8c5b-7b00-dc11-b283-0030488c597c
Added better support for line styles in the Outliner.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59789 954f8c5b-7b00-dc11-b283-0030488c597c
debug option for modifier stack calculation USE_MODIFIER_VALIDATE,
checks that every modifier gives a valid mesh (very slow) - so off by default even in debug mode.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59790 954f8c5b-7b00-dc11-b283-0030488c597c
tweaks to fly mode
- rotating the view is faster.
- arrow keys work (was only wasd-rf before)
- when stationary wheel or +/- will set z direction (so mouse wheel always sets the fly axis back to z)


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59792 954f8c5b-7b00-dc11-b283-0030488c597c
fix for glitch splitting horizontally with a high dpi, could make areas smaller then the header which pushed the original view out of the screen.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59793 954f8c5b-7b00-dc11-b283-0030488c597c
fix for window join action being interpreted as a split.

The limit for dragging a gesture on an area corner was smaller then the area hot-spot,
so you could click on the right-most side of the bottom-left corner, drag left - pass the gesture threshold and still be in the same area. so a motion intended as a join would register as a split.
Happened more with high DPI values. fix by ensuring the drag limit is always higher then the hotspot.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59794 954f8c5b-7b00-dc11-b283-0030488c597c
better fix for r59794, register a gesture when the mouse goes outside the actionzone.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59795 954f8c5b-7b00-dc11-b283-0030488c597c
fix for building on msvc


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59796 954f8c5b-7b00-dc11-b283-0030488c597c
Add new cursor types to data handling to account for Intuos 4 device (pen and eraser).

Thanks to Ayden Polat for helping to find out the cursor type codes.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59799 954f8c5b-7b00-dc11-b283-0030488c597c
Compile fix / Cycles:
* 'T' is now also used for the Subsurface closure.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59800 954f8c5b-7b00-dc11-b283-0030488c597c
Code cleanup / Cycles:
* Avoid special code, when Subsurface is enabled.
Ideally we should only use the function, and get rid of the extra duplicate, but this is slower on CUDA. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59805 954f8c5b-7b00-dc11-b283-0030488c597c
Code cleanup / Cycles:
* Removed unused member of the device_memory template. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59806 954f8c5b-7b00-dc11-b283-0030488c597c
use strict flags for kdopbvh, also assert when invalid treetype is passed, rather then failing silently.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59808 954f8c5b-7b00-dc11-b283-0030488c597c
remove error return value from BLI_bvhtree_insert, no callers were using.
in the case of an error - assert, rather then fail silently since it wont be working as expected anyway.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59809 954f8c5b-7b00-dc11-b283-0030488c597c
Ghost_SDL: Fixing the DEF_CURSOR macro so it works in release builds.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59810 954f8c5b-7b00-dc11-b283-0030488c597c
BGE: Removing the touch sensor and converting all touch sensors to collision sensors.

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