mirror of
https://github.com/EyeTrackVR/EyeTrackVR.git
synced 2025-11-04 14:39:42 +08:00
Merge remote-tracking branch 'origin/v2.0-beta-feature-branch' into v2.0-beta-feature-branch
This commit is contained in:
commit
4c0d542817
@ -349,11 +349,12 @@ class CameraWidget:
|
|||||||
self.start()
|
self.start()
|
||||||
|
|
||||||
def recenter_eyes(self, osc_message: OSCMessage):
|
def recenter_eyes(self, osc_message: OSCMessage):
|
||||||
if osc_message.data is not bool:
|
if not isinstance(osc_message.data,bool):
|
||||||
return # just incase we get anything other than bool
|
return # just incase we get anything other than bool
|
||||||
|
self.settings.gui_recenter_eyes = True
|
||||||
|
|
||||||
def recalibrate_eyes(self, osc_message: OSCMessage):
|
def recalibrate_eyes(self, osc_message: OSCMessage):
|
||||||
if osc_message.data is not bool:
|
if not isinstance(osc_message.data,bool):
|
||||||
return # just incase we get anything other than bool
|
return # just incase we get anything other than bool
|
||||||
|
|
||||||
if osc_message.data:
|
if osc_message.data:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user