From d29ea4337fd165423b3b8ae0e88b18ce89f6dd9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Sun, 12 Aug 2018 12:44:38 +0200 Subject: Fix ResourceLoader::exists() false negative and readd deprecated has() --- core/bind/core_bind.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core/bind/core_bind.h') 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 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 = ""); -- cgit v1.2.3