From 3482314971d6021873db5df0a5eefdd94fa36910 Mon Sep 17 00:00:00 2001 From: Manolis Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Sun, 29 Aug 2021 16:26:01 +0300 Subject: [PATCH] Fix project's selection bitmap having incorrect size when importing a pxo --- src/Classes/Project.gd | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Classes/Project.gd b/src/Classes/Project.gd index ffca16c85..bd0fe7220 100644 --- a/src/Classes/Project.gd +++ b/src/Classes/Project.gd @@ -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"):