Uploaded image for project: 'Qt 3D Studio'
  1. Qt 3D Studio
  2. QT3DS-4154

textures with absolute file path to qrc:/// not loading with delayed loading

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1: Critical P1: Critical
    • Qt 3D Studio 2.8
    • Qt 3D Studio 2.7
    • OpenGL Runtime
    • None
    • 05eb20d0b7e46101dd79d3f5788681f5a2a9446e

      All images are stored in resource files.
      <file alias="foo/bar.astc">resources/images/foo/bar.astc</file>
      texture/diffuse map set in UIP with:
      <Add ref="#someref" sourcepath="foo/bar.astc" subpresentation="" />
      Same texture is then replaced via code with

      presentation->setAttribute(someref, "sourcepath", qrc:///foo/bar.astc).

       

      When using non-delayed loading all the images load and work(?not loaded twice?).

      When using delayed loading the images which are being replaced with setAttribute with having differing name (the additional qrc:///) are not found by mapping functions and get drawn white.

       

      This is somewhat a client side problem with mixing conventions with absolute and relative paths. But since it works with non-delayed loading it is confusing for the user.

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

            e0150566 Janne Roine
            e0150566 Janne Roine
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes