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

Fix project's selection bitmap having incorrect size when importing a pxo

This commit is contained in:
Manolis Papadeas 2021-08-29 16:26:01 +03:00
parent e088820c74
commit 3482314971

View file

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