summaryrefslogtreecommitdiff
path: root/editor/editor_plugin.h
diff options
context:
space:
mode:
authorJakub Grzesik <kubecz3k@gmail.com>2017-07-08 18:05:09 +0200
committerJakub Grzesik <kubecz3k@gmail.com>2017-07-11 10:22:44 +0200
commit90bcb345b4147a37d0774f94f1157b7b9562489b (patch)
treee0bf8554f956450a691ecc1d63a4334b963b79c6 /editor/editor_plugin.h
parentf4c8c552f956094e1bb8787de79476f57dd6a7b6 (diff)
EditorPlugin ability to open and reload scns from filepath
Diffstat (limited to 'editor/editor_plugin.h')
-rw-r--r--editor/editor_plugin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/editor_plugin.h b/editor/editor_plugin.h
index 57a22a8b2f..3653851d5a 100644
--- a/editor/editor_plugin.h
+++ b/editor/editor_plugin.h
@@ -103,6 +103,8 @@ public:
void remove_control_from_bottom_panel(Control *p_control);
Control *get_editor_viewport();
void edit_resource(const Ref<Resource> &p_resource);
+ void open_scene_from_path(const String &scene_path);
+ void reload_scene_from_path(const String &scene_path);
void add_tool_menu_item(const String &p_name, Object *p_handler, const String &p_callback, const Variant &p_ud = Variant());
void add_tool_submenu_item(const String &p_name, Object *p_submenu);