summaryrefslogtreecommitdiff
path: root/tools/editor/editor_node.h
diff options
context:
space:
mode:
authorMarianoGNU <marianognu.easyrpg@gmail.com>2016-06-26 00:54:17 -0300
committerMarianoGNU <marianognu.easyrpg@gmail.com>2016-07-08 13:27:52 -0300
commit2924536e903bebe0d7ddb892784fb3c3f16b23dd (patch)
tree15ffced2548d76b4ad2c307529e11e59d0e3b6db /tools/editor/editor_node.h
parentd7dd10a1a2f64d4e77f09e7d63ce55630863616c (diff)
Save all edited scenes when Runing (and auto-save is enabled). Fixes #4410
Diffstat (limited to 'tools/editor/editor_node.h')
-rw-r--r--tools/editor/editor_node.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/editor/editor_node.h b/tools/editor/editor_node.h
index c4414d5c36..d18de1c531 100644
--- a/tools/editor/editor_node.h
+++ b/tools/editor/editor_node.h
@@ -124,6 +124,7 @@ private:
FILE_OPEN_SCENE,
FILE_SAVE_SCENE,
FILE_SAVE_AS_SCENE,
+ FILE_SAVE_ALL_SCENES,
FILE_SAVE_BEFORE_RUN,
FILE_SAVE_AND_RUN,
FILE_IMPORT_SUBSCENE,
@@ -438,7 +439,7 @@ private:
void _node_renamed();
void _editor_select(int p_which);
- void _set_scene_metadata(const String &p_file);
+ void _set_scene_metadata(const String &p_file, int p_idx=-1);
void _get_scene_metadata(const String& p_file);
void _update_title();
void _update_scene_tabs();
@@ -448,7 +449,7 @@ private:
void _rebuild_import_menu();
- void _save_scene(String p_file);
+ void _save_scene(String p_file, int idx = -1);
void _instance_request(const String& p_path);