mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
remove required argument from streamplayer (was a bug), make it default as 0, closes #2492
This commit is contained in:
parent
205634791c
commit
8f07f24318
@ -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);
|
||||
|
@ -325,7 +325,7 @@ void StreamPlayer::_bind_methods() {
|
||||
ObjectTypeDB::bind_method(_MD("set_stream","stream:Stream"),&StreamPlayer::set_stream);
|
||||
ObjectTypeDB::bind_method(_MD("get_stream:Stream"),&StreamPlayer::get_stream);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("play"),&StreamPlayer::play);
|
||||
ObjectTypeDB::bind_method(_MD("play"),&StreamPlayer::play,DEFVAL(0));
|
||||
ObjectTypeDB::bind_method(_MD("stop"),&StreamPlayer::stop);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("is_playing"),&StreamPlayer::is_playing);
|
||||
|
Loading…
Reference in New Issue
Block a user