summaryrefslogtreecommitdiff
path: root/editor/editor_node.h
diff options
context:
space:
mode:
authorPaulb23 <p_batty@hotmail.co.uk>2017-11-24 23:32:54 +0000
committerPaulb23 <p_batty@hotmail.co.uk>2017-11-24 23:32:54 +0000
commit76a53aa328f0f21f4d83cbaa6bf8c2096bbc4a6a (patch)
tree84910f581620f0c3c731a2bbab36f18bf02788be /editor/editor_node.h
parent7dfba3cda9f13427f9f10a6eefbec52aef62274c (diff)
Restore scenes on startup, issue 2385
Diffstat (limited to 'editor/editor_node.h')
-rw-r--r--editor/editor_node.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/editor/editor_node.h b/editor/editor_node.h
index a2b4a0a049..8b53b4f24e 100644
--- a/editor/editor_node.h
+++ b/editor/editor_node.h
@@ -559,6 +559,10 @@ private:
void _load_docks_from_config(Ref<ConfigFile> p_layout, const String &p_section);
void _update_dock_slots_visibility();
+ bool restoring_scenes;
+ void _save_open_scenes_to_config(Ref<ConfigFile> p_layout, const String &p_section);
+ void _load_open_scenes_from_config(Ref<ConfigFile> p_layout, const String &p_section);
+
void _update_layouts_menu();
void _layout_menu_option(int p_id);