Fixed error in line() function causing it to fail when smoothing was set to 0.
Fixed error in line() function causing it to fail when smoothing was set to 0.

ioam/svn-history,ioam/svn-history,ioam/svn-history,ioam/svn-history,ioam/svn-history