Partial revert "Fix two signal errors"
This partially reverts commit a31bc1b0ba
.
Possible compatibility issues with #35864 that I am not sure about.
Do I need to change "connect" to "connect_compat"?
This commit is contained in:
parent
63b0d822d1
commit
ad15edbc65
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user