Merge pull request #59548 from akien-mga/obj-remove-unused-categories

This commit is contained in:
Rémi Verschelde 2022-03-28 14:17:24 +02:00 committed by GitHub
commit abbb0dc082
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 1 additions and 56 deletions

View file

@ -1556,15 +1556,6 @@ bool ClassDB::is_class_exposed(const StringName &p_class) {
return ti->exposed;
}
StringName ClassDB::get_category(const StringName &p_node) {
ERR_FAIL_COND_V(!classes.has(p_node), StringName());
#ifdef DEBUG_ENABLED
return classes[p_node].category;
#else
return StringName();
#endif
}
void ClassDB::add_resource_base_extension(const StringName &p_extension, const StringName &p_class) {
if (resource_base_extensions.has(p_extension)) {
return;