Closed bjorn closed 1 month ago
This may also fix https://github.com/mapeditor/tiled/issues/3497
Ouch, reported so long ago that @UliAbo forgot his own bug report. I'm so sorry!
@bjorn Thanks :D
I've identified a minor issue with this patch, which is that it switches the "current object" (shown in Properties view) to the selected tile whenever you switch maps. I should try to find a way to suppress that.
The "current tile" was not being restored correctly after switching maps, when another type of object had been focused (for example due to switching layers or placing objects).
Now, when there is no "current tile" referenced by the
MapDocument
, it is set based on the tile selected in the current tileset view.Closes #3497 Closes #3681