mirror of
https://github.com/EyeTrackVR/EyeTrackVR.git
synced 2025-11-04 14:39:42 +08:00
Merge pull request #126 from Raeschen/v2.0_beta_overlay_fix
Fix centering overlay not working
This commit is contained in:
commit
222e1c0591
BIN
EyeTrackApp/Purple_Dot.png
Normal file
BIN
EyeTrackApp/Purple_Dot.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 37 KiB |
@ -1 +0,0 @@
|
||||
EyeTrackVR-Overlay.exe
|
||||
@ -1 +0,0 @@
|
||||
ETVR_SteamVR_Calibration_Overlay.exe center
|
||||
@ -123,10 +123,8 @@ def center_overlay_calibrate(self):
|
||||
# try:
|
||||
if var.overlay_active != True:
|
||||
|
||||
dirname = os.getcwd()
|
||||
|
||||
overlay_path = resource_path(tools / "center.bat")
|
||||
os.startfile(overlay_path)
|
||||
overlay_path = resource_path("tools/ETVR_SteamVR_Calibration_Overlay.exe")
|
||||
os.startfile(overlay_path, arguments="center")
|
||||
var.overlay_active = True
|
||||
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
|
||||
server_address = ("localhost", 2112)
|
||||
@ -149,7 +147,7 @@ def center_overlay_calibrate(self):
|
||||
def overlay_calibrate_3d(self):
|
||||
try:
|
||||
if var.overlay_active != True:
|
||||
overlay_path = resource_path(tool / "calibrate.bat")
|
||||
overlay_path = resource_path("tools/EyeTrackVR-Overlay.exe")
|
||||
os.startfile(overlay_path)
|
||||
var.overlay_active = True
|
||||
while var.overlay_active:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user