Merge pull request #1931 from Faless/audio_free_rid

Expose AudioServer::free(RID rid) as AudioServer.free_rid(RID rid)
This commit is contained in:
Rémi Verschelde 2015-11-23 00:22:15 +01:00
commit 2674565cf6
2 changed files with 2 additions and 2 deletions

View file

@ -1502,7 +1502,7 @@
<description>
</description>
</method>
<method name="free">
<method name="free_rid">
<argument index="0" name="rid" type="RID">
</argument>
<description>

View file

@ -132,7 +132,7 @@ void AudioServer::_bind_methods() {
ObjectTypeDB::bind_method(_MD("voice_stop","voice"), &AudioServer::voice_stop );
ObjectTypeDB::bind_method(_MD("free","rid"), &AudioServer::free );
ObjectTypeDB::bind_method(_MD("free_rid","rid"), &AudioServer::free );
ObjectTypeDB::bind_method(_MD("set_stream_global_volume_scale","scale"), &AudioServer::set_stream_global_volume_scale );
ObjectTypeDB::bind_method(_MD("get_stream_global_volume_scale"), &AudioServer::get_stream_global_volume_scale );