summaryrefslogtreecommitdiff
path: root/scene/3d/spatial_stream_player.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-09-24 18:07:13 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-09-24 18:07:13 -0300
commit9962518ffdcbd6936e3565311152799d7a71c9c3 (patch)
treec2706fc63d28b588daebb94a940d94f32b402b65 /scene/3d/spatial_stream_player.cpp
parent82a3304458738b410a5aff8994ce587413aeb464 (diff)
parentf6957eb1542fd0fd476140b1abec1f09a250fce4 (diff)
Merge branch 'master' of https://github.com/okamstudio/godot
Diffstat (limited to 'scene/3d/spatial_stream_player.cpp')
-rw-r--r--scene/3d/spatial_stream_player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/spatial_stream_player.cpp b/scene/3d/spatial_stream_player.cpp
index b81d98e8bf..346e354df2 100644
--- a/scene/3d/spatial_stream_player.cpp
+++ b/scene/3d/spatial_stream_player.cpp
@@ -331,7 +331,7 @@ void SpatialStreamPlayer::_bind_methods() {
ObjectTypeDB::bind_method(_MD("set_stream","stream:Stream"),&SpatialStreamPlayer::set_stream);
ObjectTypeDB::bind_method(_MD("get_stream:Stream"),&SpatialStreamPlayer::get_stream);
- ObjectTypeDB::bind_method(_MD("play"),&SpatialStreamPlayer::play);
+ ObjectTypeDB::bind_method(_MD("play"),&SpatialStreamPlayer::play,DEFVAL(0));
ObjectTypeDB::bind_method(_MD("stop"),&SpatialStreamPlayer::stop);
ObjectTypeDB::bind_method(_MD("is_playing"),&SpatialStreamPlayer::is_playing);