summaryrefslogtreecommitdiffstats
path: root/core/io/resource.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-02-29 13:54:07 +0100
committerRémi Verschelde <rverschelde@gmail.com>2024-02-29 13:54:07 +0100
commit172b2546871ae6f6e3c1d63fd2b4c40a7a9a9c3d (patch)
tree73627f420c0d622ff4358b665a3403381404438f /core/io/resource.h
parentda916221a71eaa0a66b8e84bd6ce05229786aa12 (diff)
parent5e144022e70975a246a14f0343215cde92893b7b (diff)
downloadredot-engine-172b2546871ae6f6e3c1d63fd2b4c40a7a9a9c3d.tar.gz
Merge pull request #88664 from RandomShaper/res_load_modes
Enhance cache modes in resource loading
Diffstat (limited to 'core/io/resource.h')
-rw-r--r--core/io/resource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/resource.h b/core/io/resource.h
index b885b773ac..f0f686af57 100644
--- a/core/io/resource.h
+++ b/core/io/resource.h
@@ -106,7 +106,7 @@ public:
virtual void set_path(const String &p_path, bool p_take_over = false);
String get_path() const;
- void set_path_cache(const String &p_path); // Set raw path without involving resource cache.
+ virtual void set_path_cache(const String &p_path); // Set raw path without involving resource cache.
_FORCE_INLINE_ bool is_built_in() const { return path_cache.is_empty() || path_cache.contains("::") || path_cache.begins_with("local://"); }
static String generate_scene_unique_id();