diff options
author | kobewi <kobewi4e@gmail.com> | 2022-11-05 17:09:16 +0100 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2023-01-19 13:02:18 +0100 |
commit | c0083e431bb7bf66987f396cf9a62fa372d92fe9 (patch) | |
tree | 5fec252ab1c4b5f0f400ab78cd758ebe88213ebf /scene/resources | |
parent | cd0a9ccdfde05963d1b544b773662149f585da0d (diff) |
Cleanup unused engine code v2
Diffstat (limited to 'scene/resources')
-rw-r--r-- | scene/resources/resource_format_text.cpp | 4 | ||||
-rw-r--r-- | scene/resources/resource_format_text.h | 1 |
2 files changed, 0 insertions, 5 deletions
diff --git a/scene/resources/resource_format_text.cpp b/scene/resources/resource_format_text.cpp index 80b9ff3f38..9542bc6179 100644 --- a/scene/resources/resource_format_text.cpp +++ b/scene/resources/resource_format_text.cpp @@ -49,10 +49,6 @@ /// -void ResourceLoaderText::set_local_path(const String &p_local_path) { - res_path = p_local_path; -} - Ref<Resource> ResourceLoaderText::get_resource() { return resource; } diff --git a/scene/resources/resource_format_text.h b/scene/resources/resource_format_text.h index 0f95e2fbfd..0cced3d20c 100644 --- a/scene/resources/resource_format_text.h +++ b/scene/resources/resource_format_text.h @@ -115,7 +115,6 @@ class ResourceLoaderText { Ref<PackedScene> _parse_node_tag(VariantParser::ResourceParser &parser); public: - void set_local_path(const String &p_local_path); Ref<Resource> get_resource(); Error load(); Error set_uid(Ref<FileAccess> p_f, ResourceUID::ID p_uid); |