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

Cropping map by selection leaves Tiled to think that tilesets are still in use #3884

Closed
Ablu opened this issue Feb 3, 2024 · 1 comment
Closed
Labels
bug Broken behavior.

Comments

@Ablu
Copy link
Contributor

Ablu commented Feb 3, 2024

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Crop map by a selection
  2. Try to delete an now unused tileset
  3. Warning occurs about tileset still being in use
  4. Close file
  5. Reopen file
  6. Tileset can now be removed without warning

Expected behavior
Removing works without notification after the tileset is no longer used, without needing to reload

Specifications:

  • Tiled Version: 1.10.2
@Ablu Ablu added the bug Broken behavior. label Feb 3, 2024
@bjorn
Copy link
Member

bjorn commented Feb 4, 2024

Right, this is likely due to "used tilesets" being cached for performance reasons. Seems like the cache is not getting invalidated in this case.

@bjorn bjorn closed this as completed in 0e3dfd6 Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Broken behavior.
Projects
None yet
Development

No branches or pull requests

2 participants