summaryrefslogtreecommitdiff
path: root/scene/audio/sample_player.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/audio/sample_player.cpp')
-rw-r--r--scene/audio/sample_player.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/audio/sample_player.cpp b/scene/audio/sample_player.cpp
index 90994f01b4..bf1c5e97a3 100644
--- a/scene/audio/sample_player.cpp
+++ b/scene/audio/sample_player.cpp
@@ -498,6 +498,7 @@ bool SamplePlayer::is_active() const {
void SamplePlayer::set_sample_library(const Ref<SampleLibrary>& p_library) {
library=p_library;
+ _change_notify();
}
Ref<SampleLibrary> SamplePlayer::get_sample_library() const {