bevy/crates/bevy_ui/src
ickshonpe b4b47d695b
default UI camera extraction fix (#17100)
# Objective

In UI extraction the default UI camera is queried for every UI node. It
only needs to be retrieved once.

## Solution

Query for the default UI camera once before iterating the UI nodes.

```
cargo run --example many_buttons --release --features "trace_tracy"
```
<img width="631" alt="default-camera-extract"
src="https://github.com/user-attachments/assets/db712bce-6a0b-49a7-8e20-654baf588390"
/>

`extract_uinode_background_colors` yellow is this PR, red is main.
2025-01-06 18:49:18 +00:00
..
experimental Migrate UI bundles to required components (#15898) 2024-10-17 21:11:02 +00:00
layout Remove tracing re-export from bevy_utils (#17161) 2025-01-05 23:06:34 +00:00
render default UI camera extraction fix (#17100) 2025-01-06 18:49:18 +00:00
widget Remove tracing re-export from bevy_utils (#17161) 2025-01-05 23:06:34 +00:00
accessibility.rs Properly set accessible value on label nodes (#16418) 2024-11-17 18:10:41 +00:00
focus.rs Replace map + unwrap_or(false) with is_some_and (#17067) 2024-12-31 20:28:02 +00:00
geometry.rs Implement FromStr for Val (#16926) 2024-12-24 02:51:13 +00:00
lib.rs Remove all deprecated code (#16338) 2025-01-05 20:33:39 +00:00
measurement.rs Use CosmicFontSystem in public bevy_text APIs and remove cosmic_text re-export (#16063) 2024-10-23 20:05:28 +00:00
picking_backend.rs Update hashbrown to 0.15 (#15801) 2024-12-10 19:45:50 +00:00
stack.rs Update hashbrown to 0.15 (#15801) 2024-12-10 19:45:50 +00:00
ui_material.rs Move required components doc to type doc (#16575) 2024-12-03 19:45:20 +00:00
ui_node.rs Remove tracing re-export from bevy_utils (#17161) 2025-01-05 23:06:34 +00:00
update.rs Update hashbrown to 0.15 (#15801) 2024-12-10 19:45:50 +00:00