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:
commit
2674565cf6
2 changed files with 2 additions and 2 deletions
|
@ -1502,7 +1502,7 @@
|
||||||
<description>
|
<description>
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="free">
|
<method name="free_rid">
|
||||||
<argument index="0" name="rid" type="RID">
|
<argument index="0" name="rid" type="RID">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
|
|
|
@ -132,7 +132,7 @@ void AudioServer::_bind_methods() {
|
||||||
|
|
||||||
ObjectTypeDB::bind_method(_MD("voice_stop","voice"), &AudioServer::voice_stop );
|
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("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 );
|
ObjectTypeDB::bind_method(_MD("get_stream_global_volume_scale"), &AudioServer::get_stream_global_volume_scale );
|
||||||
|
|
Loading…
Reference in a new issue