Uploaded image for project: 'Qt for MCUs'
  1. Qt for MCUs
  2. QTMCU-247

Sprite animation does not get rendered when AnimatedSpriteDirectory within ItemLayer is loaded with Loader

    XMLWordPrintable

Details

    Description

      Sprite animation does not get rendered when AnimatedSpriteDirectory within ItemLayer is loaded with Loader. In such situation Finished signal gets emitted but sprite animation is not rendered.

      Works normally when using Loader without ItemLayer and works also when using ItemLayer but not the Loader. Reproducer attached. Additional note, when having another Loader which loads just the AnimatedSpriteDirectory, the AnimatedSpriteDirectory within ItemLayer which was loaded with Loader gets some of the frames rendered but not completely.

      Way to reproduce:
      1) Build and run the attached project with Qt for MCUs 2.6.0, tested on Windows desktop
      2) Animation finished signal is received but sprite animation does not get rendered.
      3) Uncomment the second Loader from the LoaderIssueMCUs.qml file, rebuild and run again
      4) LoadableItem2.qml gets rendered like expected and interestingly the initial sprite animation gets some of the frames rendered when it earlier did not work at all

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            foxxx Tuukka Kettunen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes