You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't maintain this repo, just happened to be playing with it today. See the flattenPaths option. "If true, subdirectory prefixes are stripped from image file names. Image file names should be unique." Maybe that's what you're looking for.
Thanks for mentioning it. I did test the flatten paths option before opening the issue and the same happens with it enabled. Disabling the path flattening will make both images show up in the atlas.
I don't mind the behavior, but omitting these images shouldn't happen silently.
In fact the warning is present, but it is only visible in the output console
The app's behavior is to halt the packing process and display the output only on errors. Warnings are more or less go silent. I think it's a good idea to somehow at least notify the user about them.
Just as the title says, packing two images with the same name but different paths will omit one of them.
For example, adding the following two PNGs individually to the pack files list:
and then packing them, will omit one of the images in the emitted atlas. I expected a warning or an error but that was not the case.
Archive used in the example above: same_name_but_different_textures.zip
The text was updated successfully, but these errors were encountered: