summaryrefslogtreecommitdiff
path: root/scene/3d
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-09-21 03:47:56 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-09-21 03:47:56 -0300
commit8f07f243183136d141562f19321ca45246d597f9 (patch)
treef8d411a1e4bf954a797a10a7c54f2081821799c4 /scene/3d
parent205634791c0de937427310738e8bab45d7096e12 (diff)
remove required argument from streamplayer (was a bug), make it default as 0, closes #2492
Diffstat (limited to 'scene/3d')
-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);