We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c6708b commit 5a42426Copy full SHA for 5a42426
server/core/src/main/java/dev/slimevr/tracking/trackers/Tracker.kt
@@ -316,7 +316,7 @@ class Tracker @JvmOverloads constructor(
316
rot = Quaternion.rotationAroundYAxis(stayAligned.yawCorrection.toRad()) * rot
317
318
// Reset if needed and is not computed and internal
319
- return if (needReset && !(isComputed && isInternal) && trackerDataType == TrackerDataType.ROTATION) {
+ return if (allowReset && !(isComputed && isInternal) && trackerDataType == TrackerDataType.ROTATION) {
320
// Adjust to reset, mounting and drift compensation
321
resetsHandler.getReferenceAdjustedDriftRotationFrom(rot)
322
} else {
0 commit comments