diff options
Diffstat (limited to 'core/resource.cpp')
-rw-r--r-- | core/resource.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/resource.cpp b/core/resource.cpp index 0d8a223b78..7d0e29d664 100644 --- a/core/resource.cpp +++ b/core/resource.cpp @@ -105,6 +105,7 @@ void Resource::set_name(const String &p_name) { name = p_name; _change_notify("resource_name"); } + String Resource::get_name() const { return name; } @@ -444,6 +445,7 @@ bool ResourceCache::has(const String &p_path) { return b; } + Resource *ResourceCache::get(const String &p_path) { lock->read_lock(); |