summaryrefslogtreecommitdiff
path: root/scene/resources
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-01-19 19:32:51 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-01-19 19:32:51 +0100
commit4ca6a9809d54aafcb9887cec037ee1f3947fdf02 (patch)
tree52f3e5e5814217b1adbd7a2a369bf5d799482e86 /scene/resources
parent8b923163686d3141addaab3931d8875beb4f91d8 (diff)
parentc0083e431bb7bf66987f396cf9a62fa372d92fe9 (diff)
Merge pull request #44596 from KoBeWi/🧹🧹🧹
Cleanup unused engine code v2
Diffstat (limited to 'scene/resources')
-rw-r--r--scene/resources/resource_format_text.cpp4
-rw-r--r--scene/resources/resource_format_text.h1
2 files changed, 0 insertions, 5 deletions
diff --git a/scene/resources/resource_format_text.cpp b/scene/resources/resource_format_text.cpp
index c85c213c5d..2e8b4f93be 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);