1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-19 01:29:49 +00:00

Don't execute update_tileset is we are on draw tiles mode

This commit is contained in:
Emmanouil Papadeas 2024-11-28 23:51:32 +02:00
parent f9b2ff2d6a
commit d341d73fcf

View file

@ -158,6 +158,8 @@ func transform_tile(
func update_tileset() -> void:
editing_images.clear()
if TileSetPanel.placing_tiles:
return
var tile_editing_mode := TileSetPanel.tile_editing_mode
for i in cells.size():
var coords := get_cell_coords_in_image(i)