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

Update dependencies #1

Merged
merged 4 commits into from
Aug 9, 2024
Merged

Update dependencies #1

merged 4 commits into from
Aug 9, 2024

Conversation

Vrixyz
Copy link
Contributor

@Vrixyz Vrixyz commented Aug 6, 2024

This PR updates some dependencies (see Cargo.toml).

I fixed a few bugs which appeared due to the migration:

  • selection was not working
  • Gizmo shader was broken, a helpful runtime error message helped me find the correct functions to replace.

..Default::default()
});
})
.insert(Name::new("Light"));
Copy link
Contributor Author

Choose a reason for hiding this comment

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

names are useful to understand the layout when injecting bevy-inspector-egui

@@ -97,7 +97,7 @@ fn scene_explorer(

let is_visible = visibility
.get(entity)
.map(|v| v.1 == Visibility::Visible)
.map(|v| v.1 != Visibility::Hidden)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's out of scope for this PR, but a simple fix: initially the visibility is at "inherited", and the parent is always visible, so we can safely consider inherited as visible.

@Vrixyz Vrixyz marked this pull request as ready for review August 7, 2024 07:46
@Vrixyz Vrixyz requested a review from sebcrozet August 7, 2024 07:50
Copy link
Member

@sebcrozet sebcrozet left a comment

Choose a reason for hiding this comment

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

Looking good, thanks!

@Vrixyz Vrixyz merged commit 93dee25 into dimforge:main Aug 9, 2024
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.

2 participants