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

Q3DScatter should fail gracefully when mesh is missing UV coordinates

    XMLWordPrintable

Details

    • Linux/X11, macOS
    • 9c2fb8516e (qt/qtdatavis3d/6.4.1) 9c2fb8516e (qt/tqtc-qtdatavis3d/6.4.1) 857d17dd48 (qt/tqtc-qtdatavis3d/6.2.7)

    Description

      The Q3DScatter chart crashes when .obj file is is missing UV coordinates. The sample crashes with shuttle.obj and teapot.obj. Instead of crashing, the Qt should be able to fail gracefully in this case.

      To reproduce, please run the attached example project and the application should crash.

      If you open the file "scatter.cpp" and locate the line setting the mesh using "setMeshFile" and use OBJ_PLANE or OBJ_CUBE instead, the application does not crash.

      Attachments

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

        Activity

          People

            tokorpip Tomi Korpipää
            tuomas.vaarala Tuomas Vaarala
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes