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

Update tile mode rects when importing a project

This commit is contained in:
Manolis Papadeas 2021-01-30 20:43:10 +02:00
parent 5b3b91b247
commit 77185b5263

View file

@ -294,6 +294,7 @@ func deserialize(dict : Dictionary) -> void:
if dict.has("size_x") and dict.has("size_y"):
size.x = dict.size_x
size.y = dict.size_y
update_tile_mode_rects()
select_all_pixels()
if dict.has("save_path"):
OpenSave.current_save_paths[Global.projects.find(self)] = dict.save_path