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

Baking completes seemingly without errors even when there is no light or no model with enabled BakedLightmap instance

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.5.1
    • Quick: 3D
    • None

    Description

      If there are no lights set up for baking, the baking should be canceled and reason reported in callback. The number of lights is reported to be zero in a progress report, but the baking continues anyway.

      Similarly, if no models have enabled BakedLightmap instances attached to them, baking should be canceled and reason reported in callback. This problem is very hard to notice from the callback log, especially for new users of baking.

      By canceling the baking with a clear reason in these two cases allows user to better troubleshoot the issue.

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.graphics.and.multimedia Qt Graphics Team
              e0348803 Miikka Heikkinen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes