diff --git a/core/io/resource_loader.cpp b/core/io/resource_loader.cpp index fc7ebd35451..238db4bb7ae 100644 --- a/core/io/resource_loader.cpp +++ b/core/io/resource_loader.cpp @@ -1068,20 +1068,6 @@ void ResourceLoader::remove_resource_format_loader(Ref p_f --loader_count; } -int ResourceLoader::get_import_order(const String &p_path) { - String local_path = _path_remap(_validate_local_path(p_path)); - - for (int i = 0; i < loader_count; i++) { - if (!loader[i]->recognize_path(local_path)) { - continue; - } - - return loader[i]->get_import_order(p_path); - } - - return 0; -} - String ResourceLoader::get_import_group_file(const String &p_path) { String local_path = _path_remap(_validate_local_path(p_path)); @@ -1201,21 +1187,6 @@ ResourceUID::ID ResourceLoader::get_resource_uid(const String &p_path) { return ResourceUID::INVALID_ID; } -bool ResourceLoader::has_custom_uid_support(const String &p_path) { - String local_path = _validate_local_path(p_path); - - for (int i = 0; i < loader_count; i++) { - if (!loader[i]->recognize_path(local_path)) { - continue; - } - if (loader[i]->has_custom_uid_support()) { - return true; - } - } - - return false; -} - bool ResourceLoader::should_create_uid_file(const String &p_path) { const String local_path = _validate_local_path(p_path); if (FileAccess::exists(local_path + ".uid")) { diff --git a/core/io/resource_loader.h b/core/io/resource_loader.h index 1aa33fe3adb..c300b0d925b 100644 --- a/core/io/resource_loader.h +++ b/core/io/resource_loader.h @@ -244,14 +244,12 @@ public: static String get_resource_type(const String &p_path); static String get_resource_script_class(const String &p_path); static ResourceUID::ID get_resource_uid(const String &p_path); - static bool has_custom_uid_support(const String &p_path); static bool should_create_uid_file(const String &p_path); static void get_dependencies(const String &p_path, List *p_dependencies, bool p_add_types = false); static Error rename_dependencies(const String &p_path, const HashMap &p_map); static bool is_import_valid(const String &p_path); static String get_import_group_file(const String &p_path); static bool is_imported(const String &p_path); - static int get_import_order(const String &p_path); static void set_is_import_thread(bool p_import_thread);