Skip to content

HierarchyPropagatePlugin remove insert fix#24550

Open
ickshonpe wants to merge 6 commits into
bevyengine:mainfrom
ickshonpe:hierarchy-propagation-remove-insert-fix
Open

HierarchyPropagatePlugin remove insert fix#24550
ickshonpe wants to merge 6 commits into
bevyengine:mainfrom
ickshonpe:hierarchy-propagation-remove-insert-fix

Conversation

@ickshonpe
Copy link
Copy Markdown
Contributor

@ickshonpe ickshonpe commented Jun 7, 2026

Objective

Fixes #24549

Solution

In update_source, add a With<Propagate<C>> query to avoid removing Inherited<C> when Propagate<C> is removed and reinserted in the same frame.

Testing

Added a new test: test_remove_and_reinsert_propagate

@ickshonpe ickshonpe added C-Bug An unexpected or incorrect behavior A-App Bevy apps and plugins C-Benchmarks Stress tests and benchmarks used to measure how fast things are S-Waiting-on-Author The author needs to make changes or address concerns before this can be merged and removed C-Benchmarks Stress tests and benchmarks used to measure how fast things are labels Jun 7, 2026
@ickshonpe ickshonpe added D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Jun 7, 2026
@ickshonpe ickshonpe removed the S-Waiting-on-Author The author needs to make changes or address concerns before this can be merged label Jun 7, 2026
@ickshonpe ickshonpe added this to the 0.19 milestone Jun 7, 2026
@alice-i-cecile alice-i-cecile 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 Jun 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-App Bevy apps and plugins 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

None yet

Development

Successfully merging this pull request may close these issues.

HierarchyPropagatePlugin fails on remove and reinsert

3 participants