Skip to content

Commit

Permalink
Fix id_map error on open_pxo_file as well as grid being wrong size (#765
Browse files Browse the repository at this point in the history
)

Co-authored-by: MrTriPie <MrTriPie>
  • Loading branch information
mrtripie authored Oct 16, 2022
1 parent 637662d commit 0faacaf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Autoload/OpenSave.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0faacaf

Please sign in to comment.