diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml
index e61a4874..a5a8ad12 100644
--- a/.github/workflows/Build.yml
+++ b/.github/workflows/Build.yml
@@ -574,7 +574,7 @@ jobs:
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
- sudo apt-get install python-toml python-aiohttp
+ sudo apt-get install python3-toml python3-aiohttp
cd flathub
git remote add upstream https://github.com/flathub/io.github.wivrn.wivrn.git
diff --git a/dashboard/io.github.wivrn.wivrn.metainfo.xml b/dashboard/io.github.wivrn.wivrn.metainfo.xml
index c687b86c..8729b09b 100644
--- a/dashboard/io.github.wivrn.wivrn.metainfo.xml
+++ b/dashboard/io.github.wivrn.wivrn.metainfo.xml
@@ -69,6 +69,19 @@
+
+ https://github.com/WiVRn/WiVRn/releases/tag/v25.6
+
+
+ - Improved image clarity
+ - Support for body tracking on Quest
+ - Support for face tracking on Pico
+ - Support for Vive ultimate trackers
+ - Added some advanced configuration options on dashboard
+ - Changed versioning scheme to year.month
+
+
+
https://github.com/WiVRn/WiVRn/releases/tag/v0.25
diff --git a/server/driver/wivrn_foveation.cpp b/server/driver/wivrn_foveation.cpp
index 717aaacc..3c6da424 100644
--- a/server/driver/wivrn_foveation.cpp
+++ b/server/driver/wivrn_foveation.cpp
@@ -173,7 +173,11 @@ static float angles_to_center(float e, float l, float r)
e = tan(e);
l = tan(l);
r = tan(r);
- return (e - l) / (r - l) * 2 - 1;
+ float res = (e - l) / (r - l) * 2 - 1;
+ // If the center isn't in the FoV, fallback to middle of image
+ if (res < -1 or res > 1 or std::isnan(res))
+ return 0;
+ return res;
}
static float convergence_angle(float distance, float eye_x, float gaze_yaw)