Added a signal connection to update buses editor on "bus_layout_changed"

This commit is contained in:
ATN 2022-10-31 15:53:23 +01:00
parent f18f2740da
commit eab5935007

View File

@ -1340,6 +1340,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);
}