aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThéo de la Hogue2022-11-21 17:03:48 +0100
committerThéo de la Hogue2022-11-21 17:03:48 +0100
commit703e8ca71f4675fc9c536edf7d2124eb29e39873 (patch)
tree5ab0ea30783cb86a721d28937b180c1e2d0b0550 /src
parent1760f5c7f73b03caccb3d5039713dac41a02a910 (diff)
downloadargaze-703e8ca71f4675fc9c536edf7d2124eb29e39873.zip
argaze-703e8ca71f4675fc9c536edf7d2124eb29e39873.tar.gz
argaze-703e8ca71f4675fc9c536edf7d2124eb29e39873.tar.bz2
argaze-703e8ca71f4675fc9c536edf7d2124eb29e39873.tar.xz
Replacing looked by contains_point.
Diffstat (limited to 'src')
-rw-r--r--src/argaze/utils/tobii_segment_aruco_aoi_edit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/argaze/utils/tobii_segment_aruco_aoi_edit.py b/src/argaze/utils/tobii_segment_aruco_aoi_edit.py
index 2fc1e2b..278d3ae 100644
--- a/src/argaze/utils/tobii_segment_aruco_aoi_edit.py
+++ b/src/argaze/utils/tobii_segment_aruco_aoi_edit.py
@@ -227,7 +227,7 @@ def main():
marker_aoi = marker.corners.reshape(4, 2).view(AOIFeatures.AreaOfInterest)
- if marker_aoi.looked(left_click):
+ if marker_aoi.contains_point(left_click):
selected_marker_id = marker_id