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

Handle uninitialized Texture component gracefully

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1: Critical P1: Critical
    • 6.0.0
    • 6.0.0
    • Quick: 3D
    • None
    • 1
    • 18111569e5ea857bedc825955c410ec271491fdf
    • Qt Quick 3D - 35 - 36

      If you use a Texture { } component with no properties set, the renderer will crash because it will try to upload and bind to texture data that doesn't exist.

      Instead we should handle this gracefuly by either doing nothing, or having a default texture that is used instead (some engines use a magenta colored texture to signify that no texture was bound and likely should have been).

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

            kagro Kaj Grönholm
            janichol Andy Nichols
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes