mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-11-26 20:06:28 -08:00
Extended knee model + temporary fix for null/optional (#193)
This commit is contained in:
1 parent
db33c561ab
commit
c02b95346f
10 files changed
+134
-100
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) {
|
||||
tracker.setBodyPosition(TrackerPosition.getByTrackerRole(role).get());
|
||||
TrackerPosition.getByTrackerRole(role).ifPresent(tracker::setBodyPosition);
|
||||
}
|
||||
return tracker;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user