Armorpaint: Path error when importing brushes with image texture - Linux

Created on 21 Jan 2021  路  8Comments  路  Source: armory3d/armorpaint


armorpaint_import_brush_img_route_error
ArmorPaint version:
ArmorPaint.org - v0.8 (2021-01-20) - 30aff91
Linux - OpenGL

OS/device including version:
Fedora 32

Issue description:
Importing previously exported .arm brushes, produces a path error when looking for the mask of the image texture node.

Steps to reproduce:

bug

All 8 comments

path_error_persist_in_import_brush_with_image_texture_node
I updated the installation with:
git pull origin master
git submodule update --init --recursive
but the problem persisted.
then I completely removed the previous installation
i re-downloaded by git everything completely and re-compiled
and the problem still persists...
ArmorPaint.org - v0.8 (2021-01-24) - 1fa27a9
is it possible that the error is that the path to the png mask is not the same as the path to the saved .arm brush?
i have the png masks files in: /mnt/trabajo/ArmorPaint/Brushes/png
and the saved brush in: /mnt/trabajo/ArmorPaint/Brushes/pinceles_ok.
It would be interesting to have an default folder where to have saved brushes and materials to automatically imported when starting the program, or a configuration file where to set the paths.

path_error_persist_in_import_brush_with_image_texture_node_02
the brush only work if i delete failed pinked mask and re import png brush mask images

Hi again... I'm "thinking" about this... is it not a possibility to package the png image mask into the .arm exported brush file, as an asset, in a similar way how blender automatically pack external data into .blend files? ... maybe this can be more useful, for sharing the exported brushes without need also add png files or subdirectories whit other people. is only an idea. thank you for your work, I really appreciate this.

Thanks for letting me know. Did you re-export the apb_ink_35.arm file using the latest build? (it needs to be re-created, sorry)

It would be interesting to have an default folder where to have saved brushes and materials to automatically imported when starting the program

Will eventually make it possible to over-write the default project.

is it not a possibility to package the png image mask into the .arm exported brush file, as an asset

Yes, coming soon. 馃檪

re_exported_imported_brush_working
yes, re-exporting and importing now works fine. I hadn't thought of that little detail, lol. sorry. seems solved. thank you!

Yay, happy to hear. Looks cool! I have also exposed the Pack Assets option now at https://github.com/armory3d/armorpaint/commit/be7346c2b43a1c561b9abbc153a21b687ebcfeeb when exporting materials and brushes, but still needs a bit more work - looks like non power-of-two textures get packed wrong.

Yay, happy to hear. Looks cool! I have also exposed the Pack Assets option now at be7346c when exporting materials and brushes, but still needs a bit more work - looks like non power-of-two textures get packed wrong.

sounds good, I'll update again for try it. thx

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Ebbombe picture Ebbombe  路  4Comments

MathemanFlo picture MathemanFlo  路  3Comments

Stromberg90 picture Stromberg90  路  3Comments

Nhiqill picture Nhiqill  路  3Comments

emiljohnny picture emiljohnny  路  4Comments