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
Swapping between maps jiggles the selected layer and groups #3282
Comments
This feature is currently missing.
That's what Tiled does by default. The exception is when using a world to jump from one map to another, in which case it tries to be smart by keeping the same layer(s) selected, which it does by looking for layers with the same name.
I guess indeed the way forward would be to make the search for matching layers take into account group layers. |
I don't how complex this is all to implement, but point 1 "Remember the open/closed status of group layers when switching maps" would be very helpful for us as we have a lot of groups and using at least 2 TMX files in parallel. And this drives us crazy opening the groups again after switching... Would it be possible to implement at least point 1 "soon-ish", as I could imagine the other two are more complex? |
@UliAbo Sure, I'll have a look at it. |
Both when switching maps within a session, as well as between restarts, the expanded group layers are now persistent. This change also affects expanded group layers and object layers in the Objects view. Part of issue #3282
@UliAbo Done for Tiled 1.8.5 or 1.9, whichever comes first. You can get a build from here in a moment. :-) |
That's cool @bjorn |
Isn't this implemented / done? Or am I wrong again? :D |
Well, only "point 1" was implemented, but not "make the search for matching layers take into account group layers". So, when switching between maps in a world (so, not using the document tabs), currently the code synchronizing selected layers can still interfere in case you have multiple layers with the same name. |
Problem
When I am moving around multiple maps and copy/pasting pieces as source material and I swap back to the target map I find all the groups closed and the layer I was on forgotten and instead replaced with a "best guess" at a layer with the same name.
Swapping between
Map A -> Map B
and swapping back toMap A
after selecting some objects fromMap B
it places me inGroup0/Objects
when I return toMap A
instead ofGroup1/Objects
, not that it matters because I had selected the layerGroup1/ActualTarget
before I leftMap A
, intending to paste there.Goal
I want to be able to edit multiple maps simultaneously with complex group structures and copy/paste between them onto different layers without having to constantly find the layer I was previously on.
The text was updated successfully, but these errors were encountered: