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

Camera initialization crash fix #13094

Merged
merged 3 commits into from
Jul 4, 2020
Merged

Camera initialization crash fix #13094

merged 3 commits into from
Jul 4, 2020

Conversation

hrydgard
Copy link
Owner

@hrydgard hrydgard commented Jul 4, 2020

The logic for choosing a preview size was entirely broken. Improve it.

Fixes #13091 .

@Florin9doi have a look if you have time :)

Add sanity checks so we get a black image instead of crash if we would
still fail.
@hrydgard hrydgard merged commit ef250e3 into master Jul 4, 2020
@hrydgard hrydgard deleted the camera-crash-fix branch July 4, 2020 23:53
hrydgard added a commit that referenced this pull request Jul 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Invizimals crash when camera initialized - 1.10.1
2 participants