diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-07-25 12:22:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-25 12:22:04 +0200 |
commit | a0f7f42b842462646281f5c4c9a8db070e034adc (patch) | |
tree | 2ab7224180d723203e254ad5c2bac7d5a11fb1b4 | |
parent | 2a8a59eac0f1bbec83d4d04cac9f428487a0d738 (diff) | |
parent | c91860bb11124ee3a0a7a8dedab5ab3a26fca699 (diff) |
Merge pull request #50834 from akien-mga/resourceuid-fix-remove-id-binding
ResourceUID: Fix `remove_id` binding
-rw-r--r-- | core/io/resource_uid.cpp | 2 | ||||
-rw-r--r-- | doc/classes/ResourceUID.xml | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/core/io/resource_uid.cpp b/core/io/resource_uid.cpp index d4e8fcb6b0..97d683f415 100644 --- a/core/io/resource_uid.cpp +++ b/core/io/resource_uid.cpp @@ -249,7 +249,7 @@ void ResourceUID::_bind_methods() { ClassDB::bind_method(D_METHOD("add_id", "id", "path"), &ResourceUID::add_id); ClassDB::bind_method(D_METHOD("set_id", "id", "path"), &ResourceUID::set_id); ClassDB::bind_method(D_METHOD("get_id_path", "id"), &ResourceUID::get_id_path); - ClassDB::bind_method(D_METHOD("remove_id", "id", "path"), &ResourceUID::remove_id); + ClassDB::bind_method(D_METHOD("remove_id", "id"), &ResourceUID::remove_id); BIND_CONSTANT(INVALID_ID) } diff --git a/doc/classes/ResourceUID.xml b/doc/classes/ResourceUID.xml index 407aed72b2..9fe61d8008 100644 --- a/doc/classes/ResourceUID.xml +++ b/doc/classes/ResourceUID.xml @@ -47,6 +47,14 @@ <description> </description> </method> + <method name="remove_id"> + <return type="void"> + </return> + <argument index="0" name="id" type="int"> + </argument> + <description> + </description> + </method> <method name="set_id"> <return type="void"> </return> |