diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2018-08-12 12:44:38 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2018-08-12 12:44:38 +0200 |
commit | d29ea4337fd165423b3b8ae0e88b18ce89f6dd9a (patch) | |
tree | 7a42a60b567550b2c0e252addfee8c0a8f75ad2d /core/bind/core_bind.h | |
parent | 64595f0f6ad2aab38fb14f85c077c6e147326624 (diff) | |
download | redot-engine-d29ea4337fd165423b3b8ae0e88b18ce89f6dd9a.tar.gz |
Fix ResourceLoader::exists() false negative and readd deprecated has()
Diffstat (limited to 'core/bind/core_bind.h')
-rw-r--r-- | core/bind/core_bind.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/bind/core_bind.h b/core/bind/core_bind.h index 8327149f49..311372aeca 100644 --- a/core/bind/core_bind.h +++ b/core/bind/core_bind.h @@ -55,6 +55,9 @@ public: PoolVector<String> get_recognized_extensions_for_type(const String &p_type); void set_abort_on_missing_resources(bool p_abort); PoolStringArray get_dependencies(const String &p_path); +#ifndef DISABLE_DEPRECATED + bool has(const String &p_path); +#endif // DISABLE_DEPRECATED bool has_cached(const String &p_path); bool exists(const String &p_path, const String &p_type_hint = ""); |