You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +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
@@ -469,7 +469,7 @@ MeshInstanceEditor::MeshInstanceEditor() {
|
||||
options->get_popup()->add_item(TTR("View UV2"), MENU_OPTION_DEBUG_UV2);
|
||||
options->get_popup()->add_item(TTR("Unwrap UV2 for Lightmap/AO"), MENU_OPTION_CREATE_UV2);
|
||||
|
||||
options->get_popup()->connect("id_pressed", this, "_menu_option");
|
||||
options->get_popup()->connect_compat("id_pressed", this, "_menu_option");
|
||||
|
||||
outline_dialog = memnew(ConfirmationDialog);
|
||||
outline_dialog->set_title(TTR("Create Outline Mesh"));
|
||||
@@ -487,7 +487,7 @@ MeshInstanceEditor::MeshInstanceEditor() {
|
||||
outline_dialog_vbc->add_margin_child(TTR("Outline Size:"), outline_size);
|
||||
|
||||
add_child(outline_dialog);
|
||||
outline_dialog->connect("confirmed", this, "_create_outline_mesh");
|
||||
outline_dialog->connect_compat("confirmed", this, "_create_outline_mesh");
|
||||
|
||||
err_dialog = memnew(AcceptDialog);
|
||||
add_child(err_dialog);
|
||||
@@ -497,7 +497,7 @@ MeshInstanceEditor::MeshInstanceEditor() {
|
||||
add_child(debug_uv_dialog);
|
||||
debug_uv = memnew(Control);
|
||||
debug_uv->set_custom_minimum_size(Size2(600, 600) * EDSCALE);
|
||||
debug_uv->connect("draw", this, "_debug_uv_draw");
|
||||
debug_uv->connect_compat("draw", this, "_debug_uv_draw");
|
||||
debug_uv_dialog->add_child(debug_uv);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user