summaryrefslogtreecommitdiff
path: root/scene/3d/spatial_sample_player.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/spatial_sample_player.cpp')
-rw-r--r--scene/3d/spatial_sample_player.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/3d/spatial_sample_player.cpp b/scene/3d/spatial_sample_player.cpp
index b4a5d3bc1b..6dc71e06ad 100644
--- a/scene/3d/spatial_sample_player.cpp
+++ b/scene/3d/spatial_sample_player.cpp
@@ -103,6 +103,7 @@ void SpatialSamplePlayer::_notification(int p_what) {
void SpatialSamplePlayer::set_sample_library(const Ref<SampleLibrary>& p_library) {
library=p_library;
+ _change_notify();
}
Ref<SampleLibrary> SpatialSamplePlayer::get_sample_library() const {