mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-04-06 02:01:58 +02:00
[Stay Aligned] Fix broken tracker rotations (#1669)
This commit is contained in:
@@ -316,7 +316,7 @@ class Tracker @JvmOverloads constructor(
|
||||
rot = Quaternion.rotationAroundYAxis(stayAligned.yawCorrection.toRad()) * rot
|
||||
|
||||
// Reset if needed and is not computed and internal
|
||||
return if (needReset && !(isComputed && isInternal) && trackerDataType == TrackerDataType.ROTATION) {
|
||||
return if (allowReset && !(isComputed && isInternal) && trackerDataType == TrackerDataType.ROTATION) {
|
||||
// Adjust to reset, mounting and drift compensation
|
||||
resetsHandler.getReferenceAdjustedDriftRotationFrom(rot)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user