Merge pull request #68083 from atngames/master

Added a signal connection to update buses editor on "bus_layout_changed"
This commit is contained in:
Rémi Verschelde 2023-02-17 09:50:01 +01:00
commit 3a7cb4a1e0
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 2 additions and 0 deletions

View File

@ -1336,6 +1336,8 @@ EditorAudioBuses::EditorAudioBuses() {
add_child(file_dialog);
file_dialog->connect("file_selected", callable_mp(this, &EditorAudioBuses::_file_dialog_callback));
AudioServer::get_singleton()->connect("bus_layout_changed", callable_mp(this, &EditorAudioBuses::_update_buses));
set_process(true);
}