Use 0 for the index if the closest point is on the segment which closes the loop...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 28 Mar 2008 10:18:38 +0000 (10:18 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 28 Mar 2008 10:18:38 +0000 (10:18 +0000)
commitf444974043946c071373c9caf7e7c85f9e1f9354
treefa59788998e39f8fbeea649038e9cd940f0f251e
parent80031a8a28bb53f89ad750ec94a1b447b419d616
Use 0 for the index if the closest point is on the segment which closes the loop.  This keeps the final 'amount' value in the range 0..1.

git-svn-id: http://svn.voria.com/code@1930 1f10aa63-cdf2-0310-b900-c93c546f37ac
synfig-core/trunk/src/synfig/valuenode_bline.cpp