diff options
author | nathanwfranke <nathanwfranke@gmail.com> | 2020-02-20 18:37:35 -0600 |
---|---|---|
committer | nathanwfranke <nathanwfranke@gmail.com> | 2020-02-23 15:04:45 -0600 |
commit | ad15edbc6560343137e11e2b5f69b8fe871a4bf9 (patch) | |
tree | 69c00d26af20e1a7246e75b3798a96f8b2793c16 /editor/plugins | |
parent | 63b0d822d109f3612d5c22e4342ebef9cd3b9163 (diff) |
Partial revert "Fix two signal errors"
This partially reverts commit a31bc1b0ba608ef340068676f6709621a37f2140.
Possible compatibility issues with #35864 that I am not sure about.
Do I need to change "connect" to "connect_compat"?
Diffstat (limited to 'editor/plugins')
-rw-r--r-- | editor/plugins/canvas_item_editor_plugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/canvas_item_editor_plugin.cpp b/editor/plugins/canvas_item_editor_plugin.cpp index dfcaf5cdd2..72772e5ceb 100644 --- a/editor/plugins/canvas_item_editor_plugin.cpp +++ b/editor/plugins/canvas_item_editor_plugin.cpp @@ -5413,8 +5413,8 @@ CanvasItemEditor::CanvasItemEditor(EditorNode *p_editor) { editor_selection->connect_compat("selection_changed", this, "update"); editor_selection->connect_compat("selection_changed", this, "_selection_changed"); - editor->call_deferred("connect", make_binds("play_pressed", Callable(this, "_update_override_camera_button"), true)); - editor->call_deferred("connect", make_binds("stop_pressed", Callable(this, "_update_override_camera_button"), false)); + editor->call_deferred("connect", "play_pressed", Callable(this, "_update_override_camera_button"), make_binds(true)); + editor->call_deferred("connect", "stop_pressed", Callable(this, "_update_override_camera_button"), make_binds(false)); hb = memnew(HBoxContainer); add_child(hb); |