summaryrefslogtreecommitdiff
path: root/editor/editor_node.h
diff options
context:
space:
mode:
authorPoommetee Ketson <poommetee@protonmail.com>2017-06-30 00:37:54 +0700
committerPoommetee Ketson <poommetee@protonmail.com>2017-06-30 00:55:29 +0700
commita7ff7af8aef822b3159241c2723c9018052da522 (patch)
treec9a03ca0c1bb1c50ef4b29f26f32ec16b12794ef /editor/editor_node.h
parent198bd9db02950d261c83b0c383fe737df3c5f152 (diff)
EditorNode: mark opened deleted scenes as unsaved
Diffstat (limited to 'editor/editor_node.h')
-rw-r--r--editor/editor_node.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_node.h b/editor/editor_node.h
index 5e83cec4a3..24acedbf26 100644
--- a/editor/editor_node.h
+++ b/editor/editor_node.h
@@ -529,6 +529,7 @@ private:
bool _find_and_save_resource(RES p_res, Map<RES, bool> &processed, int32_t flags);
bool _find_and_save_edited_subresources(Object *obj, Map<RES, bool> &processed, int32_t flags);
void _save_edited_subresources(Node *scene, Map<RES, bool> &processed, int32_t flags);
+ void _mark_unsaved_scenes();
void _find_node_types(Node *p_node, int &count_2d, int &count_3d);
void _save_scene_with_preview(String p_file);