From ed8e70243fb1a7e88c02a8f47c431fbcc641ec62 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Fri, 2 Jan 2015 14:32:05 -0300 Subject: -refresh play options in property when setting samplelibrary (#1016) --- scene/2d/sample_player_2d.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'scene/2d/sample_player_2d.cpp') diff --git a/scene/2d/sample_player_2d.cpp b/scene/2d/sample_player_2d.cpp index 99dfa67c27..a231acd13d 100644 --- a/scene/2d/sample_player_2d.cpp +++ b/scene/2d/sample_player_2d.cpp @@ -102,6 +102,7 @@ void SamplePlayer2D::_notification(int p_what) { void SamplePlayer2D::set_sample_library(const Ref& p_library) { library=p_library; + _change_notify(); } Ref SamplePlayer2D::get_sample_library() const { -- cgit v1.2.3