mirror of
https://github.com/EyeTrackVR/EyeTrackVR.git
synced 2025-11-04 14:39:42 +08:00
fix: variable falloff not defined
This commit is contained in:
parent
4c668f9b47
commit
58ee8e3033
@ -11,6 +11,7 @@ class EyeId(IntEnum):
|
|||||||
|
|
||||||
def velocity_falloff(self, var, out_x, out_y):
|
def velocity_falloff(self, var, out_x, out_y):
|
||||||
|
|
||||||
|
falloff = False
|
||||||
if self.eye_id in [EyeId.LEFT]:
|
if self.eye_id in [EyeId.LEFT]:
|
||||||
var.l_eye_velocity = var.average_velocity
|
var.l_eye_velocity = var.average_velocity
|
||||||
if self.settings.gui_outer_side_falloff:
|
if self.settings.gui_outer_side_falloff:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user