summaryrefslogtreecommitdiff
path: root/tools/editor/editor_node.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/editor/editor_node.h')
-rw-r--r--tools/editor/editor_node.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/editor/editor_node.h b/tools/editor/editor_node.h
index 8b481ac20a..2cec301cf6 100644
--- a/tools/editor/editor_node.h
+++ b/tools/editor/editor_node.h
@@ -398,6 +398,9 @@ class EditorNode : public Node {
static Vector<EditorNodeInitCallback> _init_callbacks;
+ bool _find_scene_in_use(Node* p_node,const String& p_path) const;
+
+
protected:
void _notification(int p_what);
static void _bind_methods();
@@ -485,6 +488,10 @@ public:
static void progress_task_step_bg(const String& p_task,int p_step=-1);
static void progress_end_task_bg(const String& p_task);
+ void save_scene(String p_file) { _save_scene(p_file); }
+
+ bool is_scene_in_use(const String& p_path);
+
void scan_import_changes();
EditorNode();
~EditorNode();