From 90bcb345b4147a37d0774f94f1157b7b9562489b Mon Sep 17 00:00:00 2001 From: Jakub Grzesik Date: Sat, 8 Jul 2017 18:05:09 +0200 Subject: EditorPlugin ability to open and reload scns from filepath --- editor/editor_plugin.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'editor/editor_plugin.h') diff --git a/editor/editor_plugin.h b/editor/editor_plugin.h index 57a22a8b2..3653851d5 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 &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); -- cgit v1.2.3-70-g09d2