Details
Description
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 }