diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-17 09:50:01 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-17 09:50:01 +0100 |
commit | 3a7cb4a1e06a192cd450790b3243d4556d984d9b (patch) | |
tree | 3246faed31b6ccd2d33617a3fc7220de1b4214ad | |
parent | c7aadab155a6e3d3d5445465f3d6eda18a31d2e4 (diff) | |
parent | eab5935007fe08f0ec31ba5b3e3331eb2d026964 (diff) |
Merge pull request #68083 from atngames/master
Added a signal connection to update buses editor on "bus_layout_changed"
-rw-r--r-- | editor/editor_audio_buses.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/editor_audio_buses.cpp b/editor/editor_audio_buses.cpp index f4cefc606b..ed7638414c 100644 --- a/editor/editor_audio_buses.cpp +++ b/editor/editor_audio_buses.cpp @@ -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); } |