From 52effb12cd8328ea976a0d4a28112a32523e67b7 Mon Sep 17 00:00:00 2001 From: OverloadedOrama Date: Thu, 20 Aug 2020 01:27:21 +0300 Subject: [PATCH] Fix issue with project loading and not being able to draw outside of 64x64 Project.selected_pixels() did not get updated. --- src/Classes/Project.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Classes/Project.gd b/src/Classes/Project.gd index 5066a17eb..8ee7735bd 100644 --- a/src/Classes/Project.gd +++ b/src/Classes/Project.gd @@ -254,10 +254,10 @@ func serialize() -> Dictionary: func deserialize(dict : Dictionary) -> void: if dict.has("name"): name = dict.name - if dict.has("size_x"): + if dict.has("size_x") and dict.has("size_y"): size.x = dict.size_x - if dict.has("size_y"): size.y = dict.size_y + select_all_pixels() if dict.has("save_path"): OpenSave.current_save_paths[Global.projects.find(self)] = dict.save_path if dict.has("frames"):