Fix updateTrackersDriftCompensation condition (#796)

This commit is contained in:
Erimel authored and GitHub committed 2023-07-30 17:46:32 +03:00
1 parent a6b3465ea5
commit 414482c139
1 file changed
+2 -1
@@ -12,9 +12,10 @@ class DriftCompensationConfig {
// Max resets for the calculated average drift
var maxResets = 6
fun updateTrackersDriftCompensation() {
for (t in VRServer.instance.allTrackers) {
if (t.allowFiltering) {
if (t.isImu()) {
t.resetsHandler.readDriftCompensationConfig(this)
}
}