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

upVector is updated in an infinite loop due to floating point rounding error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.7.1
    • 5.7.0
    • Qt3D
    • None
    • Qt 5.7.0 (git), Arch Linux
    • 3e36eb87030ce9c0ea2e3ba6b7ca34f1ec76e580

    Description

      After moving or rotating the camera, it can happen that the upVector is continuously changed in an infinite loop. It seems that this is caused by some rounding errors in the floating point values of the vector. Therefore the comparison

      d->m_upVector != upVector

      becomes false which leads to the update.

      Attachments

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

        Activity

          People

            seanharmer Sean Harmer
            hessi Markus Heß
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes