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

Fix Mesh not being optional #405

Merged
merged 2 commits into from
Jul 7, 2024
Merged

Fix Mesh not being optional #405

merged 2 commits into from
Jul 7, 2024

Conversation

Jondolf
Copy link
Owner

@Jondolf Jondolf commented Jul 7, 2024

Objective

Avian 0.1.0 introduced a regression where bevy_render is now needed because Mesh is not optional. It should be feature-gated behind collider-from-mesh.

Solution

Put all mentions of Mesh behind the collider-from-mesh feature.

@Jondolf Jondolf added C-Regression Behaviour that was working before is now worse or broken bugfix labels Jul 7, 2024
Copy link
Contributor

@janhohenheim janhohenheim left a comment

Choose a reason for hiding this comment

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

collider_from_mesh requires 3d, so you can change all instances of #[cfg(all(feature = "3d", feature = "collider-from-mesh"))] to #[cfg(feature = "collider-from-mesh")]

@Jondolf Jondolf merged commit d25341a into main Jul 7, 2024
4 checks passed
@Jondolf Jondolf deleted the fix-collider-from-mesh branch July 7, 2024 23:23
@Jondolf Jondolf added C-Bug Something isn't working and removed bugfix labels Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Bug Something isn't working C-Regression Behaviour that was working before is now worse or broken
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants