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 panic when some objects cannot have specialized mesh pipelines. #20

Closed
wants to merge 1 commit into from

Conversation

arjo129
Copy link
Contributor

@arjo129 arjo129 commented Jul 11, 2023

I was trying to use this crate together with this crate and found bevy_mod_outline panicking. There may be times where a user adds objects that cannot produce speciallized pipelines (for instance in this case, the crate does not populate normals). It seems to me there is no need to panic in these cases and just move on. In the worst case we probably should log a warning of some form.

I was trying to use this crate together with [this crate](https://github.com/mattatz/bevy_points) and found this
line panicking. There may be times where a user adds objects that cannot
produce speciallized pipelines (for instance in this case, the crate
does not populate normals). It seems to me there is no need to panic in
these cases and just move on.
@arjo129 arjo129 changed the title This commit adds support for when pipelines may not be speciallized Fix panic when some objects cannot have specialized mesh pipelines. Jul 11, 2023
@komadori
Copy link
Owner

Thanks. Incorporated into #23.

@komadori komadori closed this Aug 14, 2023
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