bevy/crates/bevy_ui/src
Brett Striker b02a2eff17
Fix #12255 Updating TargetCamera on multi camera scenes not allowing layout to be calculated (#12268)
# Objective

- Fixes #12255

Still needs confirming what the consequences are from having camera
viewport nodes live on the root of the taffy tree.

## Solution

To fix calculating the layouts for UI nodes we need to cleanup the
children previously set whenever `TargetCamera` is updated. This also
maintains a list of taffy camera nodes and cleans them up when removed.

---

## Changelog

Fixed #12255

## Migration Guide

changes affect private structs/members so shouldn't need actions by
engine users.
2024-03-04 19:19:25 +00:00
..
layout Fix #12255 Updating TargetCamera on multi camera scenes not allowing layout to be calculated (#12268) 2024-03-04 19:19:25 +00:00
render Decouple BackgroundColor from UiImage (#11165) 2024-03-03 21:35:50 +00:00
widget Prefer UVec2 when working with texture dimensions (#11698) 2024-02-25 15:23:04 +00:00
accessibility.rs resolve all internal ambiguities (#10411) 2024-01-09 19:08:15 +00:00
focus.rs Use question mark operator when possible (#11865) 2024-02-14 18:44:33 +00:00
geometry.rs Made the remaining types from bevy_ui to reflect the Default trait if… (#11199) 2024-01-03 18:57:05 +00:00
lib.rs UI Texture 9 slice (#11600) 2024-02-07 20:07:53 +00:00
measurement.rs Change the default for the measure_func field of ContentSize to None. (#9346) 2023-08-07 23:06:40 +00:00
node_bundles.rs Decouple BackgroundColor from UiImage (#11165) 2024-03-03 21:35:50 +00:00
stack.rs Move commands module into bevy::ecs::world (#12234) 2024-03-02 23:13:45 +00:00
texture_slice.rs Decouple BackgroundColor from UiImage (#11165) 2024-03-03 21:35:50 +00:00
ui_material.rs Migrate from LegacyColor to bevy_color::Color (#12163) 2024-02-29 19:35:12 +00:00
ui_node.rs Decouple BackgroundColor from UiImage (#11165) 2024-03-03 21:35:50 +00:00
update.rs Avoid panicking with non-UI nodes (#12213) 2024-02-29 21:36:45 +00:00