summaryrefslogtreecommitdiff
path: root/scene/audio
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-01-02 14:32:05 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-01-02 14:32:05 -0300
commited8e70243fb1a7e88c02a8f47c431fbcc641ec62 (patch)
tree933518a618061b9cb30c55ed69e00b11e426600b /scene/audio
parentd88e192ae49dd8c30cf4f94f4a50e41b7d912c2d (diff)
-refresh play options in property when setting samplelibrary (#1016)
Diffstat (limited to 'scene/audio')
-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 {