Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tiled replaces ext:myTileSet.tsx with ../../../../../../../ext:myTileSet.tsx when saving a tmx file #3185

Closed
sdsnatcher opened this issue Nov 24, 2021 · 2 comments
Assignees
Labels
bug Broken behavior.
Projects

Comments

@sdsnatcher
Copy link

sdsnatcher commented Nov 24, 2021

Tiled allows resources like the tileset to be placed on the extensions folder by using the ext: keyword before the resource file name.

It works like a charm when loading a tmx file. But when the same tmx file is saved, Tiled adds ../../../../../../../ before the ext: keyword inside the tileset tag, like this:

<tileset firstgid="1" source="../../../../../../../ext:myTileSet.tsx"/>

This way the tmx file show up broken when it's loaded later.

@bjorn bjorn added the bug Broken behavior. label Nov 25, 2021
@bjorn
Copy link
Member

bjorn commented Nov 25, 2021

Hmm, looks like some special handling will be needed for those, yeah.

@bjorn bjorn added this to Up Next in Roadmap Dec 7, 2021
@bjorn bjorn self-assigned this Jan 21, 2022
@bjorn bjorn closed this as completed in 33d06d0 Jan 21, 2022
Roadmap automation moved this from Up Next to Completed Jan 21, 2022
@bjorn
Copy link
Member

bjorn commented Jan 21, 2022

Should now be handled correctly in the upcoming Tiled 1.8 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Broken behavior.
Projects
Archived in project
Roadmap
  
Completed
Status: Done
Development

No branches or pull requests

2 participants