diff options
author | Hunter Loftis <hunter@hunterloftis.com> | 2024-10-13 14:42:10 -0400 |
---|---|---|
committer | Hunter Loftis <hunter@hunterloftis.com> | 2024-10-15 11:46:14 -0400 |
commit | bbb8c1703bd1c2769b02372588153d5388d584e8 (patch) | |
tree | c04cbca72d78eb1a6af6339d5bf7e726199f2d54 /core/io | |
parent | af77100e394dcaca609b15bef815ed17475e51ed (diff) | |
download | redot-engine-bbb8c1703bd1c2769b02372588153d5388d584e8.tar.gz |
Fix freeze on non-thread-safe custom importers
Diffstat (limited to 'core/io')
-rw-r--r-- | core/io/resource_importer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/resource_importer.h b/core/io/resource_importer.h index 221f38494b..3ca8f7c05d 100644 --- a/core/io/resource_importer.h +++ b/core/io/resource_importer.h @@ -148,7 +148,7 @@ public: virtual String get_option_group_file() const { return String(); } virtual Error import(const String &p_source_file, const String &p_save_path, const HashMap<StringName, Variant> &p_options, List<String> *r_platform_variants, List<String> *r_gen_files = nullptr, Variant *r_metadata = nullptr) = 0; - virtual bool can_import_threaded() const { return true; } + virtual bool can_import_threaded() const { return false; } virtual void import_threaded_begin() {} virtual void import_threaded_end() {} |