aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/argaze/utils/live_tobii_session.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/argaze/utils/live_tobii_session.py b/src/argaze/utils/live_tobii_session.py
index db3d44e..d4a89b8 100644
--- a/src/argaze/utils/live_tobii_session.py
+++ b/src/argaze/utils/live_tobii_session.py
@@ -60,6 +60,7 @@ def main():
if earliest_ts == None:
raise ValueError
+ # Get last gaze position value and remove all former gaze positions
earliest_ts, earliest_gaze_position = past_gaze_positions.pop_first_until(earliest_ts)
# Draw video synchronized gaze pointer