From c91860bb11124ee3a0a7a8dedab5ab3a26fca699 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Sun, 25 Jul 2021 11:54:48 +0200 Subject: [PATCH] ResourceUID: Fix `remove_id` binding Fixes #50833. --- core/io/resource_uid.cpp | 2 +- doc/classes/ResourceUID.xml | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/core/io/resource_uid.cpp b/core/io/resource_uid.cpp index d4e8fcb6b07d..97d683f4156a 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 407aed72b2ed..9fe61d800818 100644 --- a/doc/classes/ResourceUID.xml +++ b/doc/classes/ResourceUID.xml @@ -47,6 +47,14 @@ + + + + + + + +