-
Notifications
You must be signed in to change notification settings - Fork 2
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
Conversation
..Default::default() | ||
}); | ||
}) | ||
.insert(Name::new("Light")); |
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good, thanks!
This PR updates some dependencies (see
Cargo.toml
).I fixed a few bugs which appeared due to the migration:
ViewVisibility
changes (see migration guide), we have to opt in the visibility update.Selection
, andTransformGizmo