summaryrefslogtreecommitdiffstats
path: root/core/io/resource_importer.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-06-11 11:46:35 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-06-11 11:46:35 +0200
commite4fa8543ea11b7d25c24c81c4a0b824b60fb82ec (patch)
tree1cb028256f8c3dbb92ea9ea4c7af73d1c363d451 /core/io/resource_importer.cpp
parent62a056aa56ca4471c035e43741c88e4a22d81802 (diff)
downloadredot-engine-e4fa8543ea11b7d25c24c81c4a0b824b60fb82ec.tar.gz
Revert "Fix FileSystem dock won't show any file folders"
This reverts commit 72856d633a6be5c596d4a3231acab009828a2efe. Fixes #93022.
Diffstat (limited to 'core/io/resource_importer.cpp')
-rw-r--r--core/io/resource_importer.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/core/io/resource_importer.cpp b/core/io/resource_importer.cpp
index 49ba7b0358..fcf4a727ca 100644
--- a/core/io/resource_importer.cpp
+++ b/core/io/resource_importer.cpp
@@ -362,24 +362,6 @@ Variant ResourceFormatImporter::get_resource_metadata(const String &p_path) cons
return pat.metadata;
}
-
-Error ResourceFormatImporter::get_resource_import_info(const String &p_path, StringName &r_type, ResourceUID::ID &r_uid, String &r_import_group_file) const {
- PathAndType pat;
- Error err = _get_path_and_type(p_path, pat);
-
- if (err == OK) {
- r_type = pat.type;
- r_uid = pat.uid;
- r_import_group_file = pat.group_file;
- } else {
- r_type = "";
- r_uid = ResourceUID::INVALID_ID;
- r_import_group_file = "";
- }
-
- return err;
-}
-
void ResourceFormatImporter::get_classes_used(const String &p_path, HashSet<StringName> *r_classes) {
PathAndType pat;
Error err = _get_path_and_type(p_path, pat);