Fix freeze on non-thread-safe custom importers

This commit is contained in:
Hunter Loftis
2024-10-13 14:42:10 -04:00
parent af77100e39
commit bbb8c1703b
17 changed files with 29 additions and 7 deletions
@@ -65,6 +65,8 @@ public:
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) override;
virtual bool can_import_threaded() const override { return true; }
ResourceImporterOggVorbis();
};