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

No callback from QQuick3DLightmapBaker::bake() if there are no models set up for baking

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.5.2, 6.6.0
    • 6.5.1
    • Quick: 3D
    • None
    • 1e3925213 (dev), 6a6bffcdb (6.5)

    Description

      QQuick3DLightmapBaker::Callback is not called after baking is started with QQuick3DLightmapBaker::bake(callback), if there are no models included in baking (i.e. no models with usedInBakedLighting == true). It should send at the very least "Complete" or "Cancelled" callback instead of just not doing anything. An informative "Progress" callback about the situation wouldn't hurt, either.

      For now QDS just assumes there were no bakeable content if no callbacks are received.

      Attachments

        Issue Links

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

          Activity

            People

              hatemelkharashy Hatem ElKharashy
              e0348803 Miikka Heikkinen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes