bevy/crates/bevy_gizmos
François ebdda09fc3
make gizmo groups ordering stable when rendering (#12034)
# Objective

- During rendering of different gizmo groups, the ordering is random
between executions

## Solution

- Make the ordering stable
- It's using a `TypeIdMap`, its iteration order depends on the insertion
order. so insert when adding a group instead of when adding a gizmo
- Also changed `extract_gizmo_data` to not be group dependent. there
will be only one of those systems, no matter the number of gizmo groups
added

---------

Co-authored-by: pablo-lua <126117294+pablo-lua@users.noreply.github.com>
2024-02-26 15:55:26 +00:00
..
macros Bump Version after Release (#12020) 2024-02-21 20:58:59 +00:00
src make gizmo groups ordering stable when rendering (#12034) 2024-02-26 15:55:26 +00:00
Cargo.toml Bump Version after Release (#12020) 2024-02-21 20:58:59 +00:00