From 0faacafb16d29d29445c7a8b93fb4934ece4bf52 Mon Sep 17 00:00:00 2001 From: mrtripie <65431647+mrtripie@users.noreply.github.com> Date: Sun, 16 Oct 2022 19:21:28 -0400 Subject: [PATCH] Fix id_map error on open_pxo_file as well as grid being wrong size (#765) Co-authored-by: MrTriPie --- src/Autoload/OpenSave.gd | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Autoload/OpenSave.gd b/src/Autoload/OpenSave.gd index d74c7701a..79355617f 100644 --- a/src/Autoload/OpenSave.gd +++ b/src/Autoload/OpenSave.gd @@ -135,9 +135,7 @@ func open_pxo_file(path: String, untitled_backup: bool = false, replace_empty: b file.close() if empty_project: - if dict.error == OK and dict.result.has("fps"): - Global.animation_timeline.fps_spinbox.value = dict.result.fps - Global.animation_timeline.project_changed() + new_project.change_project() else: Global.projects.append(new_project) Global.tabs.current_tab = Global.tabs.get_tab_count() - 1