Skip to content

[Merged by Bors] - Allow adding systems to multiple sets that share the same base set - #7709

Closed
geieredgar wants to merge 2 commits into
bevyengine:mainfrom
geieredgar:fix-7702
Closed

geieredgar wants to merge 2 commits into
bevyengine:mainfrom
geieredgar:fix-7702

Conversation

@geieredgar

Copy link
Copy Markdown
Contributor

Objective

Fixes #7702.

Solution

  • Added an test that ensures that no error is returned if a system or set is inside two different sets that share the same base set.
  • Added an check to only return an error if the two base sets are not equal.

@geieredgar geieredgar changed the title Fix 7702 Fix #7702 Feb 16, 2023
@geieredgar geieredgar changed the title Fix #7702 Allow adding systems to multiple sets that share the same base set Feb 16, 2023
@alice-i-cecile alice-i-cecile added C-Bug An unexpected or incorrect behavior A-ECS Entities, components, systems, and events labels Feb 16, 2023
@alice-i-cecile alice-i-cecile added this to the 0.10 milestone Feb 16, 2023

@alice-i-cecile alice-i-cecile left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good tests, good fix. Thanks!

@alice-i-cecile alice-i-cecile 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 Feb 16, 2023
@alice-i-cecile

Copy link
Copy Markdown
Member

bors r+

bors Bot pushed a commit that referenced this pull request Feb 16, 2023
…7709)

# Objective

Fixes #7702.

## Solution

- Added an test that ensures that no error is returned if a system or set is inside two different sets that share the same base set.
- Added an check to only return an error if the two base sets are not equal.
@bors bors Bot changed the title Allow adding systems to multiple sets that share the same base set [Merged by Bors] - Allow adding systems to multiple sets that share the same base set Feb 16, 2023
@bors bors Bot closed this Feb 16, 2023
myreprise1 pushed a commit to myreprise1/bevy that referenced this pull request Feb 16, 2023
…evyengine#7709)

# Objective

Fixes bevyengine#7702.

## Solution

- Added an test that ensures that no error is returned if a system or set is inside two different sets that share the same base set.
- Added an check to only return an error if the two base sets are not equal.
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.

Can't add systems to multiple sets.

3 participants