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

QPickTriangleEvent not created

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • None
    • 5.8.0 Beta
    • Qt3D
    • None

      Bug in pickboundingvolumejob.cpp, line 269.

      const bool trianglePickingRequested = (m_renderSettings->pickResultMode() == QPickingSettings::AllPicks);

      should be

      const bool trianglePickingRequested = (m_renderSettings->pickResultMode() == QPickingSettings::TrianglePicking);

      This causes the test on line 298 to create a QPickEvent instead of a QPickTriangleEvent and vice versa.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            mkrus Mike Krus
            harald Harald Vistnes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes