diff options
author | Gunnar Sletta <gunnar@trolltech.com> | 2009-12-09 14:49:15 +0100 |
---|---|---|
committer | Gunnar Sletta <gunnar@trolltech.com> | 2009-12-09 14:49:15 +0100 |
commit | 9f3cde38bffb79da82d6248a873a687d37177954 (patch) | |
tree | f2d1fb4b185d0faa6224fd5c6b3ad9d199451a74 /src/gui/painting/qbezier_p.h | |
parent | 32b45ba08745fdcedf6b3537a9f62cd23a5eb1ba (diff) | |
download | qt4-tools-9f3cde38bffb79da82d6248a873a687d37177954.tar.gz |
Don't assert on valid math in qbezier
Diffstat (limited to 'src/gui/painting/qbezier_p.h')
-rw-r--r-- | src/gui/painting/qbezier_p.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/painting/qbezier_p.h b/src/gui/painting/qbezier_p.h index 7dbd0c279c..c2848710c5 100644 --- a/src/gui/painting/qbezier_p.h +++ b/src/gui/painting/qbezier_p.h @@ -166,8 +166,6 @@ inline void QBezier::coefficients(qreal t, qreal &a, qreal &b, qreal &c, qreal & inline QPointF QBezier::pointAt(qreal t) const { - Q_ASSERT(t >= 0); - Q_ASSERT(t <= 1); #if 1 qreal a, b, c, d; coefficients(t, a, b, c, d); |