You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-19 14:31:59 +00:00
Reworked signal connection system, added support for Callable and Signal objects and made them default.
This commit is contained in:
committed by
Juan Linietsky
parent
1a4be2cd8f
commit
69c95f4b4c
@@ -137,7 +137,7 @@ void SkeletonEditor::edit(Skeleton *p_node) {
|
||||
|
||||
void SkeletonEditor::_notification(int p_what) {
|
||||
if (p_what == NOTIFICATION_ENTER_TREE) {
|
||||
get_tree()->connect("node_removed", this, "_node_removed");
|
||||
get_tree()->connect_compat("node_removed", this, "_node_removed");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -164,7 +164,7 @@ SkeletonEditor::SkeletonEditor() {
|
||||
|
||||
options->get_popup()->add_item(TTR("Create physical skeleton"), MENU_OPTION_CREATE_PHYSICAL_SKELETON);
|
||||
|
||||
options->get_popup()->connect("id_pressed", this, "_on_click_option");
|
||||
options->get_popup()->connect_compat("id_pressed", this, "_on_click_option");
|
||||
options->hide();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user