bevy/crates/bevy_gltf
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
..
src gltf loader: do not use the taskpool for only one task (#3577) 2022-01-07 07:19:22 +00:00
Cargo.toml bevy_gltf: Add support for loading lights (#3506) 2022-01-03 07:59:25 +00:00