summaryrefslogtreecommitdiff
path: root/editor/editor_node.h
diff options
context:
space:
mode:
authorTomasz Chabora <kobewi4e@gmail.com>2019-03-22 02:08:28 +0100
committerTomasz Chabora <kobewi4e@gmail.com>2019-05-31 16:02:57 +0200
commit9e18e94dc1cf70d3e4982828cf87317382abc326 (patch)
treebb299056eedd5c4d97b14a71f74b12754289bf44 /editor/editor_node.h
parent9c3ddf05cb9c59817d885e9daca6e8f61c89dc97 (diff)
Ensure main scene is set when running on device
Diffstat (limited to 'editor/editor_node.h')
-rw-r--r--editor/editor_node.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/editor_node.h b/editor/editor_node.h
index 267c70c773..22da2c43fb 100644
--- a/editor/editor_node.h
+++ b/editor/editor_node.h
@@ -804,6 +804,8 @@ public:
static void add_init_callback(EditorNodeInitCallback p_callback) { _init_callbacks.push_back(p_callback); }
static void add_build_callback(EditorBuildCallback p_callback);
+
+ bool ensure_main_scene(bool p_from_native);
};
struct EditorProgress {