Update camera_widget.py

This commit is contained in:
Blabzillaweasel 2025-01-28 18:21:05 +13:00
parent 4836bc55c5
commit e6836d29f1

View File

@ -349,11 +349,12 @@ class CameraWidget:
self.start()
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
self.settings.gui_recenter_eyes = True
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
if osc_message.data: