Balsam generates texture source attribute like this:
Texture { id: ____________home_app_mixamo_mini_tmp_skins_061a5a9e_1fee_460f_876c_03e0797fd994_fbm_SpacePirate_diffuse_png_texture generateMipmaps: true mipFilter: Texture.Linear source: "/Users/thomschm/Downloads/../../../../home/app/mixamo-mini/tmp/skins_061a5a9e-1fee-460f-876c-03e0797fd994.fbm/SpacePirate_diffuse.png" }
The balsam call was invoked without specific arguments, just 'balsam <input_file>'.
This seems to have a few issues:
- It's using a non-sanitized version of the original texture id from the imported file
- It uses the fully expanded path of the directory where the output goes to. This makes it impractical for future QML imports.
- As a side effect, there are no resource files generated, possibly because the source path is used for writing file, and obviously does not exist.
The same balsam call on Qt 5.4 generated this output:
Texture { source: "maps/SpacePirate_diffuse.png.png" pivotU: 0.5 pivotV: 0.5 generateMipmaps: true mipFilter: Texture.Linear }
For Gerrit Dashboard: QTBUG-110918 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
460360,10 | Update handling of QUrl Texture source property in valueToQml | dev | qt/qtquick3d | Status: MERGED | +2 | 0 |
462033,2 | Restore UV workaround from old asset importer | dev | qt/qtquick3d | Status: MERGED | +2 | 0 |
462260,2 | Restore UV workaround from old asset importer | 6.5 | qt/qtquick3d | Status: MERGED | +2 | 0 |
462315,6 | Asset: fix to handle embedded textures | dev | qt/qtquick3d | Status: MERGED | +2 | 0 |
463277,2 | Update handling of QUrl Texture source property in valueToQml | 6.5 | qt/qtquick3d | Status: MERGED | +2 | 0 |
463393,2 | Asset: fix to handle embedded textures | 6.5 | qt/qtquick3d | Status: MERGED | +2 | 0 |