Skip to content

Commit

Permalink
Merge pull request #50834 from akien-mga/resourceuid-fix-remove-id-bi…
Browse files Browse the repository at this point in the history
…nding

ResourceUID: Fix `remove_id` binding
  • Loading branch information
akien-mga authored Jul 25, 2021
2 parents 2a8a59e + c91860b commit a0f7f42
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion core/io/resource_uid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down
8 changes: 8 additions & 0 deletions doc/classes/ResourceUID.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit a0f7f42

Please sign in to comment.