bevy/crates/bevy_render
Jeb Brooks 4b50edc980
Truncate attribute buffer data rather than attribute buffers (#10270)
Existing truncation code limits the number of attribute buffers to be
less than or equal to the number of vertices.
Instead the number of elements from each attribute buffer should be
limited to the length of the shortest buffer as mentioned in the earlier
warning.

# Objective

- Fixes #10267 

## Solution

- Moves the `.take()` from the outer loop of attribute buffers, to the
inner loop of attribute values.
---
2023-10-28 19:03:37 +00:00
..
macros allow extensions to StandardMaterial (#7820) 2023-10-17 21:28:08 +00:00
src Truncate attribute buffer data rather than attribute buffers (#10270) 2023-10-28 19:03:37 +00:00
Cargo.toml update shader imports (#10180) 2023-10-21 11:51:58 +00:00