From 273a6eeb66ed1ff2fcc1ee3a6eaae4eedf437875 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Fri, 28 Apr 2023 13:15:36 +0200 Subject: Redo how the remote filesystem works Instead of reading files over the network, the new version uses a local file cache and only updates files when it changes. The original remote filesystem was created 14 years ago, when ethernet was faster than hard drives or even flash. Also, mobile devices have a very small amount of storage. Nowadays, this is no longer the case so the approach is changed to using a persistent cache in the target device. Co-authored-by: m4gr3d --- core/variant/variant_utility.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/variant/variant_utility.cpp') diff --git a/core/variant/variant_utility.cpp b/core/variant/variant_utility.cpp index fd079dbeea..545825011a 100644 --- a/core/variant/variant_utility.cpp +++ b/core/variant/variant_utility.cpp @@ -804,6 +804,8 @@ struct VariantUtilityFunctions { r_error.error = Callable::CallError::CALL_OK; } +#undef print_verbose + static inline void print_verbose(const Variant **p_args, int p_arg_count, Callable::CallError &r_error) { if (OS::get_singleton()->is_stdout_verbose()) { String s; -- cgit v1.2.3