mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-12-06 08:42:32 -08:00
Always send bone routing settings as a workaround for race
This commit is contained in:
1 file changed
+4
-1
@@ -68,11 +68,14 @@ class BoneRoutingBehaviour(
|
||||
).distinctUntilChanged()
|
||||
|
||||
receiver.onRpc<BoneRoutingSettingsRequest> { _, txId ->
|
||||
// TODO: is .first() right here? It seems to return a very outdated value.
|
||||
// This causes issues in the driver where, on some launches, trackers will
|
||||
// simply not show up if they were all connected prior to launching SteamVR
|
||||
receiver.sendRpc(responses.first(), txId)
|
||||
}.launchIn(receiver.context.scope)
|
||||
|
||||
responses
|
||||
.drop(1)
|
||||
// .drop(1) // FIXME: Commented out as a workaround for the mentioned bug
|
||||
.onEach(receiver::sendRpc)
|
||||
.launchIn(receiver.context.scope)
|
||||
|
||||
|
||||
Reference in new issue
Block a user