Another draw tool bug fix - these 2 lines were in the wrong order.
[synfig.git] / synfig-studio / trunk / src / synfigapp / blineconvert.cpp
index a2c6494..770f42c 100644 (file)
@@ -217,10 +217,10 @@ void GetFirstDerivatives(const std::vector<synfig::Point> &f, unsigned int left,
                for(;current < right-2; current++, out += dfstride)
                        FivePointdt(*(synfig::Vector*)out,f[current-2], f[current-1], f[current], f[current+1], f[current+2], 0);
 
-               FivePointdt(*(synfig::Vector*)out,f[right-5], f[right-4], f[right-3], f[right-2], f[right-1], 1);
-               out += dfstride;
                FivePointdt(*(synfig::Vector*)out,f[right-6], f[right-5], f[right-4], f[right-3], f[right-2], 2);
                out += dfstride;
+               FivePointdt(*(synfig::Vector*)out,f[right-5], f[right-4], f[right-3], f[right-2], f[right-1], 1);
+               out += dfstride;
                current += 2;
        }
 }