Skip to content

Conversation

@ThierryBerger
Copy link
Contributor

@ThierryBerger ThierryBerger 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

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.

@ThierryBerger ThierryBerger marked this pull request as ready for review August 7, 2024 07:46
@ThierryBerger ThierryBerger 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!

@ThierryBerger ThierryBerger 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