mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-11-20 17:11:20 -08:00
Fix updateTrackersDriftCompensation condition (#796)
This commit is contained in:
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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user