-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Make scene handling of entity references robust #7335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 8 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
7118b80
Support mapping dead references in MapEntities
Illiux 5228f02
Save entity generation in scenes
Illiux 431aa8f
Merge branch 'bevyengine:main' into main
Illiux 752d282
Update WindowRef's MapEntities impl
Illiux c9bac3b
Address review feedback
Illiux d9ac92a
Remove superfluous safety comment
Illiux 6e7e2b2
Use Entity instead of u64 for entity ids in scenes
Illiux b2bb7bd
Serialize Entity refs as u64
Illiux b78c479
Remove serde macro dependency from bevy_ecs
Illiux ed197b5
Prefix reserve_generations with try_
Illiux b5d2c6e
Merge branch 'bevyengine:main' into main
Illiux 08888fc
Merge branch 'bevyengine:main' into main
Illiux 63f934d
Address PR feedback
Illiux e0438f3
Merge branch 'bevyengine:main' into main
Illiux 2836525
Add some unit tests
Illiux b3d4bad
Merge branch 'bevyengine:main' into main
Illiux 151628d
Apply suggestions from code review
Illiux cff1d80
Address PR feedback
Illiux 2e1dcc2
Address comments
Illiux 931e32b
Merge branch 'bevyengine:main' into main
Illiux 953fd8a
Address feedback
Illiux b8b1b5b
Merge remote-tracking branch 'upstream'
Illiux 066c36c
Undo changes in world/mod.rs
Illiux 327ba49
Rename various variables from "index" to "entity"
Illiux f5ea4d9
Rename vars in serde.rs
Illiux File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.