mirror of
https://github.com/godotengine/godot.git
synced 2024-10-23 13:41:43 +00:00
Merge pull request #52865 from akien-mga/obj-import-no-threads
Import: Disable thread import for OBJ meshes
This commit is contained in:
commit
327ab9d9f5
|
@ -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();
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user