aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThéo de la Hogue2022-11-07 14:29:59 +0100
committerThéo de la Hogue2022-11-07 14:29:59 +0100
commit0243ed489624cdcd12922304ec398ec4ca9a84bb (patch)
tree6a54faf95356ed7c6195ad82709378536ab41b85 /src
parent6025089ec84d2cb40aad9ab44750339c09eca05d (diff)
parentee1c71e6b6cad368c7ac30a6030c982e566c7200 (diff)
downloadargaze-0243ed489624cdcd12922304ec398ec4ca9a84bb.zip
argaze-0243ed489624cdcd12922304ec398ec4ca9a84bb.tar.gz
argaze-0243ed489624cdcd12922304ec398ec4ca9a84bb.tar.bz2
argaze-0243ed489624cdcd12922304ec398ec4ca9a84bb.tar.xz
Merging master
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 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)