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:
parent
5b3b91b247
commit
77185b5263
|
@ -294,6 +294,7 @@ func deserialize(dict : Dictionary) -> void:
|
||||||
if dict.has("size_x") and dict.has("size_y"):
|
if dict.has("size_x") and dict.has("size_y"):
|
||||||
size.x = dict.size_x
|
size.x = dict.size_x
|
||||||
size.y = dict.size_y
|
size.y = dict.size_y
|
||||||
|
update_tile_mode_rects()
|
||||||
select_all_pixels()
|
select_all_pixels()
|
||||||
if dict.has("save_path"):
|
if dict.has("save_path"):
|
||||||
OpenSave.current_save_paths[Global.projects.find(self)] = dict.save_path
|
OpenSave.current_save_paths[Global.projects.find(self)] = dict.save_path
|
||||||
|
|
Loading…
Reference in a new issue