diff options
author | Théo de la Hogue | 2022-11-07 14:29:13 +0100 |
---|---|---|
committer | Théo de la Hogue | 2022-11-07 14:29:13 +0100 |
commit | ee1c71e6b6cad368c7ac30a6030c982e566c7200 (patch) | |
tree | 62bb3897866dc8543913ec773953f0393b7c4c42 | |
parent | 4535c7e57492a9d9ba4ddf3c1767fe85c3e4c2bc (diff) | |
download | argaze-ee1c71e6b6cad368c7ac30a6030c982e566c7200.zip argaze-ee1c71e6b6cad368c7ac30a6030c982e566c7200.tar.gz argaze-ee1c71e6b6cad368c7ac30a6030c982e566c7200.tar.bz2 argaze-ee1c71e6b6cad368c7ac30a6030c982e566c7200.tar.xz |
Fixing selection of marker 0.
-rw-r--r-- | src/argaze/utils/tobii_segment_aruco_aoi_edit.py | 2 |
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 3899d9d..f25138c 100644 --- a/src/argaze/utils/tobii_segment_aruco_aoi_edit.py +++ b/src/argaze/utils/tobii_segment_aruco_aoi_edit.py @@ -396,7 +396,7 @@ def main(): # Save selected marker edition using 'Ctrl + s' if key_pressed == 19: - if selected_marker_id > 0 and aoi3D_scene_edit != None: + if selected_marker_id >= 0 and aoi3D_scene_edit != None: aoi_scene_filepath = args.marker_id_scene[f'{selected_marker_id}'] aoi3D_scene_edited.save(aoi_scene_filepath) |