Merge pull request #52865 from akien-mga/obj-import-no-threads

Import: Disable thread import for OBJ meshes
This commit is contained in:
Rémi Verschelde 2021-09-20 12:33:46 +02:00 committed by GitHub
commit 327ab9d9f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,6 +64,9 @@ public:
virtual Error import(const String &p_source_file, const String &p_save_path, const Map<StringName, Variant> &p_options, List<String> *r_platform_variants, List<String> *r_gen_files = nullptr, Variant *r_metadata = nullptr) override;
// Threaded import can currently cause deadlocks, see GH-48265.
virtual bool can_import_threaded() const override { return false; }
ResourceImporterOBJ();
};