Skip to content

Wrong UI camera fix#24982

Open
ickshonpe wants to merge 4 commits into
bevyengine:mainfrom
ickshonpe:wrong-ui-camera-fix
Open

Wrong UI camera fix#24982
ickshonpe wants to merge 4 commits into
bevyengine:mainfrom
ickshonpe:wrong-ui-camera-fix

Conversation

@ickshonpe

@ickshonpe ickshonpe commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Objective

Fixes #24966

Solution

We're missing cleanup for the UI propagation components.

Remove the propagation components unless a UI node is a root.

Testing

Includes a test update_context_after_parented.

… One of the nodes targets the non-default camera. Then after updating, parent the node without a camera target to the other node. Should both be targetting the non-default camera, but child stays targeting the default camera.
…ode. `update_context_after_parented` now passes.
@ickshonpe ickshonpe added this to the 0.19.1 milestone Jul 13, 2026
@ickshonpe ickshonpe added C-Bug An unexpected or incorrect behavior A-UI Graphical user interfaces, styles, layouts, and widgets D-Straightforward Simple bug fixes and API improvements, docs, test and examples A-Camera User-facing camera APIs and controllers. labels Jul 13, 2026
@github-project-automation github-project-automation Bot moved this to Needs SME Triage in UI Jul 13, 2026
@ickshonpe ickshonpe added the S-Needs-Review Needs reviewer attention (from anyone!) to move forward label Jul 13, 2026
@alice-i-cecile alice-i-cecile requested a review from kfc35 July 14, 2026 01:04
@kfc35 kfc35 added S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it and removed S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Jul 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Camera User-facing camera APIs and controllers. A-UI Graphical user interfaces, styles, layouts, and widgets C-Bug An unexpected or incorrect behavior D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it

Projects

Status: Needs SME Triage

Development

Successfully merging this pull request may close these issues.

incorrect ComputedUiTargetCamera propagation

3 participants