-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Option to auto reload image layer image on change #825
Comments
You're right of course. |
Hi, I'm going to start working on this. However, I'm completely new to this project and I am an amateur developer so I can't guarantee that I finish it. I'll create a pull request when I finish. |
Also, what do you mean by that? Auto reload the tileset images if they change? or is it something else as well? |
I've completed the task. It should all be in the pull request now. |
@HenryJia I think you misunderstood something. Your pull request #847 is only attempting an optimization while this issue is about an actual feature, and one which your pull request does not address at all. Your pull request aims to optimize the case of reloading a tileset image when it is in use by multiple tilesets, while this issue is about the functionality of reloading image layer images when they change on disk. |
Wait I thought the image layers were the same thing as the tilesets which were already implemented? |
No. I've tried to tell you before, that the image layers are something different and the reload system is missing there. The classes relevant for image layers are |
Would you mind telling me what image layer is in the compiled program? |
You can add one to the map through the "Layers" menu, it's called "Add Image Layer". You set up its image in the Properties view. |
ok, great thanks |
|
FYI there is no bounty on this issue. |
Would be great to have this! |
Voting for this one. I have other tools in the toolchain updating images for several iamge layers, and it is cumbersome to manually open the layer properties and re-specify the filename(s) all the time (or restart the tool) |
You should be able to use Reload (default shortcut Ctrl+R) to reload the current document (and therefore also the images in its Image Layers), no need to edit the properties or restart Tiled. |
This is what I do, but forgetting to hit save before reload is kind of frightening |
Tiled warns you on Reload if your map is has unsaved changes and gives you the opportunity to save or cancel, so it shouldn't be so scary. (In case it wasn't clear: my previous reply was to someone else, they seem to not be aware of Reload. I am only hoping to ease their life a little until automatic reloading is added.) |
Thanks. Just tested. Reload/Ctrl-R works very well for me, thank you! 🙏 |
It would be great to have something like the auto-reload of tileset images right now, but for images on image layers.
The text was updated successfully, but these errors were encountered: