From 1a1b62748a01928401a344b8c538b59f75706ece Mon Sep 17 00:00:00 2001 From: George Marques Date: Sun, 10 Jul 2016 17:19:19 -0300 Subject: Fix crash on asset lib install This is not the perfect solution, but fixes the crash and avoid a dependency on EditorNode. --- main/main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main') diff --git a/main/main.cpp b/main/main.cpp index adaebab1d4..aa8540632f 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -1504,6 +1504,8 @@ bool Main::start() { if (project_manager_request || (script=="" && test=="" && game_path=="" && !editor)) { ProjectManager *pmanager = memnew( ProjectManager ); + ProgressDialog *progress_dialog = memnew( ProgressDialog ); + pmanager->add_child(progress_dialog); sml->get_root()->add_child(pmanager); OS::get_singleton()->set_context(OS::CONTEXT_PROJECTMAN); } -- cgit v1.2.3