diff options
author | thimenesup <thimenesup@gmail.com> | 2019-08-20 18:06:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-20 18:06:21 +0200 |
commit | 79a4930501f74212e7799c679d8e25d5d26e36c7 (patch) | |
tree | 8e4c3c9b99fcd608844203a0c6de4f176d794a22 /editor/scene_tree_dock.cpp | |
parent | bb5bf8ef49fd9d4e0580998dd03644d99bd3bc1a (diff) |
Expose SceneTreeDock::get_tree_editor()
This can be useful for plugins that rely on some signals emitted by it, Like my Networked Scene Editor plugin https://github.com/thimenesup/GodotNetworkedSceneEditor
Diffstat (limited to 'editor/scene_tree_dock.cpp')
-rw-r--r-- | editor/scene_tree_dock.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/scene_tree_dock.cpp b/editor/scene_tree_dock.cpp index f1eb7adbd2..f0114b393d 100644 --- a/editor/scene_tree_dock.cpp +++ b/editor/scene_tree_dock.cpp @@ -2709,6 +2709,7 @@ void SceneTreeDock::_bind_methods() { ClassDB::bind_method(D_METHOD("_feature_profile_changed"), &SceneTreeDock::_feature_profile_changed); ClassDB::bind_method(D_METHOD("instance"), &SceneTreeDock::instance); + ClassDB::bind_method(D_METHOD("get_tree_editor"), &SceneTreeDock::get_tree_editor); ClassDB::bind_method(D_METHOD("replace_node"), &SceneTreeDock::replace_node); ADD_SIGNAL(MethodInfo("remote_tree_selected")); |