diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-02-29 13:54:07 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-02-29 13:54:07 +0100 |
commit | 172b2546871ae6f6e3c1d63fd2b4c40a7a9a9c3d (patch) | |
tree | 73627f420c0d622ff4358b665a3403381404438f /core/core_bind.cpp | |
parent | da916221a71eaa0a66b8e84bd6ce05229786aa12 (diff) | |
parent | 5e144022e70975a246a14f0343215cde92893b7b (diff) | |
download | redot-engine-172b2546871ae6f6e3c1d63fd2b4c40a7a9a9c3d.tar.gz |
Merge pull request #88664 from RandomShaper/res_load_modes
Enhance cache modes in resource loading
Diffstat (limited to 'core/core_bind.cpp')
-rw-r--r-- | core/core_bind.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/core_bind.cpp b/core/core_bind.cpp index f5c69b9b98..8ccf7d1f51 100644 --- a/core/core_bind.cpp +++ b/core/core_bind.cpp @@ -145,6 +145,8 @@ void ResourceLoader::_bind_methods() { BIND_ENUM_CONSTANT(CACHE_MODE_IGNORE); BIND_ENUM_CONSTANT(CACHE_MODE_REUSE); BIND_ENUM_CONSTANT(CACHE_MODE_REPLACE); + BIND_ENUM_CONSTANT(CACHE_MODE_IGNORE_DEEP); + BIND_ENUM_CONSTANT(CACHE_MODE_REPLACE_DEEP); } ////// ResourceSaver ////// |