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

New data types #32

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

New data types #32

wants to merge 9 commits into from

Conversation

DuFF14
Copy link
Member

@DuFF14 DuFF14 commented Dec 12, 2016

Changes int to std::uint8_t, although this did not fix the bug/crash we are seeing in Unity (which occurs on some machines more often than others).
Caches nonzero viewport values and returns them to Unity when we hit a bug that causes the width and height of viewport to be 0 temporarily.
This avoids a crash but does not fix the bug.

@DuFF14
Copy link
Member Author

DuFF14 commented Dec 12, 2016

See OSVR/OSVR-Unity#199
I think this is related to: #21

@DuFF14
Copy link
Member Author

DuFF14 commented Dec 12, 2016

@rpavlik please test this version of Palace to determine if these changes avoid a crash on your system: https://drive.google.com/open?id=0B0X-T5b2-zcOU3o2Rk5lQjIwUG8
Also let me know if there is a better approach for handling the errors that pop up in GetViewport, GetEyePoses, and GetProjectionMatrix. On Friday, we learned this may be a stack corruption issue, since errors were logged when none of the conditions were met to log the error. That has not been fixed, but we may be able to avoid a crash for now.

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.

1 participant