mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Reworked signal connection system, added support for Callable and Signal objects and made them default.
This commit is contained in:
parent
1a4be2cd8f
commit
69c95f4b4c
275 changed files with 3831 additions and 2948 deletions
|
@ -107,7 +107,7 @@ NodeDock::NodeDock() {
|
|||
connections_button->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||
connections_button->set_clip_text(true);
|
||||
mode_hb->add_child(connections_button);
|
||||
connections_button->connect("pressed", this, "show_connections");
|
||||
connections_button->connect_compat("pressed", this, "show_connections");
|
||||
|
||||
groups_button = memnew(ToolButton);
|
||||
groups_button->set_text(TTR("Groups"));
|
||||
|
@ -116,7 +116,7 @@ NodeDock::NodeDock() {
|
|||
groups_button->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||
groups_button->set_clip_text(true);
|
||||
mode_hb->add_child(groups_button);
|
||||
groups_button->connect("pressed", this, "show_groups");
|
||||
groups_button->connect_compat("pressed", this, "show_groups");
|
||||
|
||||
connections = memnew(ConnectionsDock(EditorNode::get_singleton()));
|
||||
connections->set_undoredo(EditorNode::get_undo_redo());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue