Refactor export dialog (#288)

* Split export code from export dialog to Export.gd autoload
Clean access to child nodes of export dialog

* Fix export variables set in Main.gd

* Fix more wrong variable assignments

Co-authored-by: alexhayoo <65853178+alexhayoo@users.noreply.github.com>
This commit is contained in:
Martin Novák 2020-07-31 22:26:52 +02:00 committed by GitHub
parent 2346ca810b
commit 6f645d996d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 514 additions and 475 deletions

View file

@ -194,7 +194,7 @@ func save_project_file_as() -> void:
func export_file() -> void:
if Global.export_dialog.was_exported == false:
if Export.was_exported == false:
Global.export_dialog.popup_centered()
Global.dialog_open(true)
else: