mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-11-24 02:51:20 -08:00
Fix optional in the feeder and bring back none option in the gui (#194)
This commit is contained in:
1 parent
c02b95346f
commit
0afe9d2ef8
3 files changed
+15
-9
No files matched your search
@@ -114,7 +114,7 @@ public class WindowsNamedPipeBridge extends ProtobufBridge<VRTracker> implements
|
||||
);
|
||||
TrackerRole role = TrackerRole.getById(trackerAdded.getTrackerRole());
|
||||
if (role != null) {
|
||||
TrackerPosition.getByTrackerRole(role).ifPresent(tracker::setBodyPosition);
|
||||
tracker.setBodyPosition(TrackerPosition.getByTrackerRole(role).orElse(null));
|
||||
}
|
||||
return tracker;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user