summaryrefslogtreecommitdiffstats
path: root/editor/plugins/node_3d_editor_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-12-06 00:55:28 +0100
committerGitHub <noreply@github.com>2020-12-06 00:55:28 +0100
commit93b107ac93db82a2790d6ebf5d0893dd72eb670a (patch)
treee199803009bff5980c5fbe5a5a7e1a45b6884f2e /editor/plugins/node_3d_editor_plugin.cpp
parent91fd6374eb313aa31008a6b90f067644ede3e02f (diff)
parent1b348b3c17f76cc7af1a53b648f42e76e9102b26 (diff)
downloadredot-engine-93b107ac93db82a2790d6ebf5d0893dd72eb670a.tar.gz
Merge pull request #44132 from aaronfranke/no-connect-compat
Remove connect *_compat methods
Diffstat (limited to 'editor/plugins/node_3d_editor_plugin.cpp')
-rw-r--r--editor/plugins/node_3d_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/node_3d_editor_plugin.cpp b/editor/plugins/node_3d_editor_plugin.cpp
index 74777b10f1..804a72bd1d 100644
--- a/editor/plugins/node_3d_editor_plugin.cpp
+++ b/editor/plugins/node_3d_editor_plugin.cpp
@@ -6667,7 +6667,7 @@ Node3DEditorPlugin::Node3DEditorPlugin(EditorNode *p_node) {
editor->get_viewport()->add_child(spatial_editor);
spatial_editor->hide();
- spatial_editor->connect_compat("transform_key_request", editor->get_inspector_dock(), "_transform_keyed");
+ spatial_editor->connect("transform_key_request", Callable(editor->get_inspector_dock(), "_transform_keyed"));
}
Node3DEditorPlugin::~Node3DEditorPlugin() {