You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When offsetting a map as a whole on "infinite" mode, offsetting outside the map bounds deletes the map data that would fall off instead of A) resizing the map or B) handling it in a way where map size is ignored.
Reproduction steps:
Create a new 100x100 infinite map
Create a couple tiles
Map -> Offset map...
Set x and y offsets to 1000
Notice map data is gone
Way around this issue is to go to map->resize, then resize the map to a large enough data set and then reposition the map.
Version: latest development snapshot from itch.io page (2018.01.23)
The text was updated successfully, but these errors were encountered:
Well, it's because TileLayer::offsetTiles only writes within the boundaries it is given. We'll probably need to handle infinite maps specially here.
I also noticed the "Wrap" checkboxes always get disabled for infinite maps, which is not what we want, because it still makes sense to enable them in case you're offsetting within a selection.
I'll see if I can still include a fix for this in the Tiled 1.1.2 release I am planning to do tomorrow.
When offsetting a map as a whole on "infinite" mode, offsetting outside the map bounds deletes the map data that would fall off instead of A) resizing the map or B) handling it in a way where map size is ignored.
Reproduction steps:
Way around this issue is to go to map->resize, then resize the map to a large enough data set and then reposition the map.
Version: latest development snapshot from itch.io page (2018.01.23)
The text was updated successfully, but these errors were encountered: