diff options
author | Hilderin <81109165+Hilderin@users.noreply.github.com> | 2024-05-27 16:40:20 -0400 |
---|---|---|
committer | Hilderin <81109165+Hilderin@users.noreply.github.com> | 2024-06-10 19:54:37 -0400 |
commit | 72856d633a6be5c596d4a3231acab009828a2efe (patch) | |
tree | b9872edef9ac60e53ae181049b41e61e9d9a64da /editor/editor_node.cpp | |
parent | 5241d30bfa223ed45784e32d8143d20a98a8d862 (diff) | |
download | redot-engine-72856d633a6be5c596d4a3231acab009828a2efe.tar.gz |
Fix FileSystem dock won't show any file folders
Diffstat (limited to 'editor/editor_node.cpp')
-rw-r--r-- | editor/editor_node.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 94bd590fc1..b58b378414 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -5103,6 +5103,8 @@ void EditorNode::save_editor_layout_delayed() { } void EditorNode::_load_editor_layout() { + EditorProgress ep("loading_editor_layout", TTR("Loading editor"), 5); + ep.step("Loading editor layout...", 0, true); Ref<ConfigFile> config; config.instantiate(); Error err = config->load(EditorPaths::get_singleton()->get_project_settings_dir().path_join("editor_layout.cfg")); @@ -5124,11 +5126,19 @@ void EditorNode::_load_editor_layout() { return; } + ep.step("Loading docks...", 1, true); editor_dock_manager->load_docks_from_config(config, "docks"); + + ep.step("Reopening scenes...", 2, true); _load_open_scenes_from_config(config); + + ep.step("Loading central editor layout...", 3, true); _load_central_editor_layout_from_config(config); + ep.step("Loading plugin window layout...", 4, true); editor_data.set_plugin_window_layout(config); + + ep.step("Editor layout ready.", 5, true); } void EditorNode::_save_central_editor_layout_to_config(Ref<ConfigFile> p_config_file) { |