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 single-frame cursor flickering #10436

Merged
merged 1 commit into from Feb 4, 2022
Merged

Conversation

jloehr
Copy link
Contributor

@jloehr jloehr commented Jan 27, 2022

Overview

The offending cursor prefabs have by default their visuals enabled. When handtracking starts and the cursors are spawned, it takes the system a frame to figure out they're not needed and to disable them. This results in the cursors flashing.

The solution is to simply check disableCursorOnStart for the offending cursors and have the visuals properly disabled for the poke pointer (properly as in not only a transparent material, but disabling the visuals GameObject).

The latter change also fixes a cutout on your index finger when using the handmesh visualization:

After - Before:
image

Changes

@ghost
Copy link

ghost commented Jan 27, 2022

CLA assistant check
All CLA requirements met.

@keveleigh
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

Copy link
Member

@Cameron-Micka Cameron-Micka left a comment

Choose a reason for hiding this comment

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

Thanks for finding and fixing this!

@keveleigh
Copy link
Contributor

Appreciate the contribution! Looks good

@keveleigh keveleigh merged commit 786be87 into microsoft:main Feb 4, 2022
@jloehr jloehr deleted the cursor_fix branch February 7, 2022 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants