Use a bigger epsilon when calculating bline tangents. It gives a more accurate resul...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Mon, 3 Mar 2008 18:11:27 +0000 (18:11 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Mon, 3 Mar 2008 18:11:27 +0000 (18:11 +0000)
git-svn-id: http://svn.voria.com/code@1854 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-core/trunk/src/synfig/valuenode_blinecalctangent.cpp

index 51bcafc..453b781 100644 (file)
@@ -125,7 +125,7 @@ ValueNode_BLineCalcTangent::operator()(Time t)const
 
        etl::hermite<Vector> curve(blinepoint0.get_vertex(),   blinepoint1.get_vertex(),
                                                           blinepoint0.get_tangent2(), blinepoint1.get_tangent1());
-       etl::derivative< etl::hermite<Vector> > deriv(curve);
+       etl::derivative< etl::hermite<Vector> > deriv(curve, 0.0001);
 
        switch (get_type())
        {