From c0083e431bb7bf66987f396cf9a62fa372d92fe9 Mon Sep 17 00:00:00 2001 From: kobewi Date: Sat, 5 Nov 2022 17:09:16 +0100 Subject: Cleanup unused engine code v2 --- scene/resources/resource_format_text.cpp | 4 ---- scene/resources/resource_format_text.h | 1 - 2 files changed, 5 deletions(-) (limited to 'scene/resources') 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 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 _parse_node_tag(VariantParser::ResourceParser &parser); public: - void set_local_path(const String &p_local_path); Ref get_resource(); Error load(); Error set_uid(Ref p_f, ResourceUID::ID p_uid); -- cgit v1.2.3