Merge pull request #27979 from Paulb23/remember_script_state

Restore script editor state between sessions
This commit is contained in:
Rémi Verschelde
2019-04-21 13:01:43 +02:00
committed by GitHub
7 changed files with 93 additions and 13 deletions

View File

@@ -2523,6 +2523,7 @@ int EditorNode::_next_unsaved_scene(bool p_valid_filename, int p_start) {
void EditorNode::_exit_editor() {
exiting = true;
resource_preview->stop(); //stop early to avoid crashes
_save_docks();
get_tree()->quit();
}