Рефактор. Большое перемещение файлов (продолжено)

This commit is contained in:
sasha80
2023-12-26 10:38:25 +03:00
parent 9cf3e88d3b
commit d2507019d7
7 changed files with 15 additions and 19 deletions

View File

@@ -69,7 +69,7 @@ func _on_zoom_changed(zoom: int):
if map_tile_stack.size() != 0:
return
map_zoom = zoom
var ll = TEST_DATA['Фиджи']
var ll = TEST_DATA['Хельсинки']
var tile: = mercator.create_tile(ll[0], ll[1], zoom)
map_tile_stack.clear()
map_tile_stack.append(tile)
@@ -86,7 +86,6 @@ func img_tile_to_map_image(image: Image, dst_pos: Vector2i):
map_image.blit_rect(image, map_tile, dst_pos)
func _process(_delta: float):
if (map_tile_state == TASK_STATE.DONE) and map_tile_stack.size():
var tile: mercator.Tile = map_tile_stack[-1]