Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-72630

Wrong value from BezierSpline QEasingCurve

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.12.0
    • Fix Version/s: None
    • Labels:
      None
    • Commits:
      c54083ff933830a28f43551b9c3b132bfb11492d (qt/qtbase/5.15)

      Description

      QEasingCurve ease(QEasingCurve::BezierSpline);
      ease.addCubicBezierSegment(QPointF(0.167,0), QPointF(0.5,1), QPointF(1,1));
      qDebug() << ease.valueForProgress(1.0);

      Prints out 0 instead of the correct 1.

        Attachments

          Issue Links

          For Gerrit Dashboard: QTBUG-72630
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              vgt Eirik Aavitsland
              Reporter:
              vgt Eirik Aavitsland
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There is 1 open Gerrit change