Skip to content

[Merged by Bors] - Fix Sparse Change Detection#6896

Closed
james7132 wants to merge 1 commit intobevyengine:mainfrom
james7132:fix-sparse-change-detection
Closed

[Merged by Bors] - Fix Sparse Change Detection#6896
james7132 wants to merge 1 commit intobevyengine:mainfrom
james7132:fix-sparse-change-detection

Conversation

@james7132
Copy link
Copy Markdown
Member

Objective

#6547 accidentally broke change detection for SparseSet components by using Ticks::from_tick_cells with the wrong argument order.

Solution

Use the right argument order. Add a regression test.

@james7132 james7132 added C-Bug An unexpected or incorrect behavior A-ECS Entities, components, systems, and events labels Dec 9, 2022
@mockersf mockersf added the S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it label Dec 9, 2022
@mockersf
Copy link
Copy Markdown
Member

Bors r+

bors bot pushed a commit that referenced this pull request Dec 10, 2022
# Objective
#6547 accidentally broke change detection for SparseSet components by using `Ticks::from_tick_cells` with the wrong argument order.

## Solution
Use the right argument order. Add a regression test.
@bors bors bot changed the title Fix Sparse Change Detection [Merged by Bors] - Fix Sparse Change Detection Dec 10, 2022
@bors bors bot closed this Dec 10, 2022
@james7132 james7132 deleted the fix-sparse-change-detection branch December 12, 2022 04:00
alradish pushed a commit to alradish/bevy that referenced this pull request Jan 22, 2023
# Objective
bevyengine#6547 accidentally broke change detection for SparseSet components by using `Ticks::from_tick_cells` with the wrong argument order.

## Solution
Use the right argument order. Add a regression test.
ItsDoot pushed a commit to ItsDoot/bevy that referenced this pull request Feb 1, 2023
# Objective
bevyengine#6547 accidentally broke change detection for SparseSet components by using `Ticks::from_tick_cells` with the wrong argument order.

## Solution
Use the right argument order. Add a regression test.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-ECS Entities, components, systems, and events C-Bug An unexpected or incorrect behavior 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.

5 participants