GodotVR / godot_openxr_vendors

Godot 4 wrapper for OpenXR vendors loaders and extensions
MIT License
82 stars 17 forks source link

Update hand mesh data fetch process #147

Closed devloglogan closed 1 month ago

devloglogan commented 1 month ago

@dsnopek informed me that, in the xr simulator, the demo project would fail to retrieve hand meshes and proceed to keep trying every frame. This would cause a constant flow of error messages. Now when attempting to fetch hand mesh data, it will abort the process if xrGetHandMeshFB() returns XR_ERROR_FUNCTION_UNSUPPORTED or XR_ERROR_FEATURE_UNSUPPORTED.

I've also updated it so after all the hand mesh data is successfully fetched, should_fetch_hand_mesh_data is set to false.