diff options
| author | Rémi Verschelde | 2017-07-11 16:41:44 +0200 |
|---|---|---|
| committer | GitHub | 2017-07-11 16:41:44 +0200 |
| commit | 9f0a65b804da903b0c7ebdaffd80dee01acbdc28 (patch) | |
| tree | ab4d98a6c230d987b6d2c9cd7e45f7ff7d076f41 /editor/editor_plugin.h | |
| parent | 3741a576575f3fef4f7c743e90856240d9f47ffc (diff) | |
| parent | 90bcb345b4147a37d0774f94f1157b7b9562489b (diff) | |
| download | godot-9f0a65b804da903b0c7ebdaffd80dee01acbdc28.tar.gz godot-9f0a65b804da903b0c7ebdaffd80dee01acbdc28.tar.zst godot-9f0a65b804da903b0c7ebdaffd80dee01acbdc28.zip | |
Merge pull request #9566 from kubecz3k/tool-open-scn
EditorPlugin ability to open and reload scenes from scn filepath
Diffstat (limited to '')
| -rw-r--r-- | editor/editor_plugin.h | 2 |
1 files changed, 2 insertions, 0 deletions
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<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); |
