Skip to content
This repository has been archived by the owner on May 13, 2022. It is now read-only.

Fix compiler errors in LuminHandControllerDataProvider #83

Merged
merged 1 commit into from
Sep 22, 2020

Conversation

FejZa
Copy link
Contributor

@FejZa FejZa commented Sep 22, 2020

XRTK - Mixed Reality Toolkit Pull Request

Overview

Fixed some compiler errors introduced by the now merged changes for Hands Core implementation.

@@ -94,17 +92,20 @@ public override void Update()

if (handTrackingHandle.IsValid)
{
var leftHandData = new HandData();
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we really need to create a new one each update?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

They are structs now, so caching a reference does not make sense anymore.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Makes sense?

@StephenHodgson StephenHodgson merged commit 1ccde2b into development Sep 22, 2020
@StephenHodgson StephenHodgson deleted the fix/hand-compiler-errors branch September 22, 2020 17:23
XRTK-Build-Bot pushed a commit that referenced this pull request Dec 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants