bevy/crates/bevy_gltf/src
François 015da72250 gltf loader: do not use the taskpool for only one task (#3577)
# Objective

- Fix the case mentioned in https://github.com/bevyengine/bevy/pull/2725#issuecomment-1007014024.
- On a machine with 4 cores, so 1 thread for assets, loading a gltf with only one textures hangs all asset loading

## Solution

- Do not use the task pool when there is only one texture to load


Co-authored-by: François <8672791+mockersf@users.noreply.github.com>
2022-01-07 07:19:22 +00:00
..
lib.rs Replace old renderer with new renderer (#3312) 2021-12-14 03:58:23 +00:00
loader.rs gltf loader: do not use the taskpool for only one task (#3577) 2022-01-07 07:19:22 +00:00