Skip to content
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

Upgrade to Bevy 0.15 #221

Merged
merged 13 commits into from
Nov 30, 2024
Merged

Upgrade to Bevy 0.15 #221

merged 13 commits into from
Nov 30, 2024

Conversation

Vrixyz
Copy link
Contributor

@Vrixyz Vrixyz commented Nov 6, 2024

I chose to rely mostly on PartialReflect, even though I imagine in practice everything is Reflect ; I'm not sure it's possible to rely on Reflect exclusively because when we're cloning the value, errors are handled in another function.

I imagine we could either unwrap, or bubble the errors up, but I fear that would make a lot of changes for not much benefits ; also, I believe relaxing trait bounds is always interesting.

@Vrixyz Vrixyz changed the title Bevy 0.15 Upgrade to Bevy 0.15 Nov 6, 2024
@Vrixyz Vrixyz force-pushed the bevy_0.15 branch 2 times, most recently from a00cec9 to 335d678 Compare November 6, 2024 10:39
@Vrixyz Vrixyz force-pushed the bevy_0.15 branch 2 times, most recently from f64d1af to 645eb99 Compare November 6, 2024 14:20
@Vrixyz Vrixyz marked this pull request as ready for review November 6, 2024 14:23
crates/bevy-inspector-egui/src/bevy_inspector/mod.rs Outdated Show resolved Hide resolved
Comment on lines 1023 to 1024
// TODO: display error ? Is entering here even possible ?
continue;
Copy link
Owner

Choose a reason for hiding this comment

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

uhhh... this is an edge case in an edge case but I think I would just return None here as well, since this for loop should only work if you're multi-editing a bunch of Handles

Copy link
Contributor Author

Choose a reason for hiding this comment

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

maybe a warn! would be interesting 🤔

crates/bevy-inspector-egui/src/bevy_inspector/mod.rs Outdated Show resolved Hide resolved
crates/bevy-inspector-egui/src/inspector_egui_impls/mod.rs Outdated Show resolved Hide resolved
crates/bevy-inspector-egui/src/reflect_inspector/mod.rs Outdated Show resolved Hide resolved
crates/bevy-inspector-egui/src/reflect_inspector/mod.rs Outdated Show resolved Hide resolved
crates/bevy-inspector-egui/src/reflect_inspector/mod.rs Outdated Show resolved Hide resolved
@hukasu
Copy link

hukasu commented Nov 30, 2024

bevy_egui now has a release for 0.15.

And add #224 as solvable by this PR

Copy link
Owner

@jakobhellermann jakobhellermann left a comment

Choose a reason for hiding this comment

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

thanks again for the PR, I believe this is good to merge now

@jakobhellermann jakobhellermann merged commit 97d23b3 into jakobhellermann:main Nov 30, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants