Fixed bug with wrong last spline path angle.
--HG-- branch : feature
This commit is contained in:
parent
e120fc1d0a
commit
b12ede529f
|
@ -74,7 +74,7 @@ VSplinePath::VSplinePath(const QVector<VFSplinePoint> &points, qreal kCurve, qui
|
||||||
newPoints[i-1].SetLength2(spl.GetC1Length(), spl.GetC1LengthFormula());
|
newPoints[i-1].SetLength2(spl.GetC1Length(), spl.GetC1LengthFormula());
|
||||||
|
|
||||||
newPoints[i].SetP(p2.P());
|
newPoints[i].SetP(p2.P());
|
||||||
newPoints[i].SetAngle2(p2.Angle1(), spl.GetEndAngleFormula());
|
newPoints[i].SetAngle1(p2.Angle1(), spl.GetEndAngleFormula());
|
||||||
newPoints[i].SetLength1(spl.GetC2Length(), spl.GetC2LengthFormula());
|
newPoints[i].SetLength1(spl.GetC2Length(), spl.GetC2LengthFormula());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user