use 'greater/less then or equal to' operators rather then adding 1.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59060 954f8c5b-7b00-dc11-b283-0030488c597c
display an error with python driver expressions when script execution is disabled.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59061 954f8c5b-7b00-dc11-b283-0030488c597c
Code cleanup / Cycles:
* Rename "curve_kernel_data" to just "curve", to avoid redundant naming. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59070 954f8c5b-7b00-dc11-b283-0030488c597c
Fix RNA parameter passing issue with dynamic arrays, was computing the wrong
size in some cases.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59071 954f8c5b-7b00-dc11-b283-0030488c597c
Code cleanup / Cycles:
* Remove unused "PathThroughput" variable.
* Don't compile unused voronoi code, we only use Distance Squared atm. 
* Various typo and comment fixes. 

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