summaryrefslogtreecommitdiffstats
path: root/scene/resources/sample.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-02-08 11:29:32 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-02-08 11:29:32 -0300
commit9109e41a20a202e405cefc4ca6cb54208366fee9 (patch)
tree72aeaab9e23c042a689174fee1fce38a54ee7fd9 /scene/resources/sample.cpp
parentf5433dc60d4a2e56b64f0a581ccb82c71e0887ee (diff)
downloadredot-engine-9109e41a20a202e405cefc4ca6cb54208366fee9.tar.gz
Property handle rotated controls in 2D editor, fixes #3613
Diffstat (limited to 'scene/resources/sample.cpp')
-rw-r--r--scene/resources/sample.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/sample.cpp b/scene/resources/sample.cpp
index 4b25a2c490..87fcfc425d 100644
--- a/scene/resources/sample.cpp
+++ b/scene/resources/sample.cpp
@@ -151,8 +151,8 @@ void Sample::set_loop_format(LoopFormat p_format) {
if (sample.is_valid())
AudioServer::get_singleton()->sample_set_loop_format(sample,(AudioServer::SampleLoopFormat)p_format);
loop_format=p_format;
-
}
+
Sample::LoopFormat Sample::get_loop_format() const {
return loop_format;