New Eye Tracking panel for Avatars 3.0 #599
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Contains an operator to rotate eye bones so they point straight up and have zero roll, simplifying the eye-tracking setup in Unity for VRChat.
The panel is hidden when showing Avatars 2.0 tabs is enabled, since that will cause the Avatars 2.0 Eye Tracking panel to be shown.
register_wrap will now add a dummy poll_message_set function to Operator subclasses on Blender 2.x where Operator.poll_message_set does not exist, so that poll_message_set can be used in Blender 3.0+
Hopefully this will both help people set up VRChat eye tracking in Unity and reduce people asking where the Eye Tracking tab is.
It makes use of
bpy.types.Operator.poll_message_set
to display a message below the description when the button is disabled.I tried to keep the UI labels short, but feel free to re-word them.