aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThéo de la Hogue2024-06-21 06:29:12 +0200
committerThéo de la Hogue2024-06-21 06:29:12 +0200
commit82fd0d1cde5f67999c6ecbf4f697f038372f9b67 (patch)
tree2f764b7d7cac8ebf429e4c3c202e4c52569e7d53
parent12ad13f1ed456a009b050e1dd6e31808d9b77cbb (diff)
downloadargaze-82fd0d1cde5f67999c6ecbf4f697f038372f9b67.zip
argaze-82fd0d1cde5f67999c6ecbf4f697f038372f9b67.tar.gz
argaze-82fd0d1cde5f67999c6ecbf4f697f038372f9b67.tar.bz2
argaze-82fd0d1cde5f67999c6ecbf4f697f038372f9b67.tar.xz
Uncommenting try block.
-rw-r--r--src/argaze/ArFeatures.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/argaze/ArFeatures.py b/src/argaze/ArFeatures.py
index 832f970..abb5f56 100644
--- a/src/argaze/ArFeatures.py
+++ b/src/argaze/ArFeatures.py
@@ -1554,21 +1554,21 @@ class ArContext(DataFeatures.PipelineStepObject):
if issubclass(type(self.__pipeline), ArFrame):
- #try:
+ try:
- if x is None and y is None:
+ if x is None and y is None:
- # Edit empty gaze position
- self.__pipeline.look(GazeFeatures.GazePosition(timestamp=timestamp))
+ # Edit empty gaze position
+ self.__pipeline.look(GazeFeatures.GazePosition(timestamp=timestamp))
- else:
+ else:
- # Edit gaze position
- self.__pipeline.look(GazeFeatures.GazePosition((x, y), precision=precision, timestamp=timestamp))
+ # Edit gaze position
+ self.__pipeline.look(GazeFeatures.GazePosition((x, y), precision=precision, timestamp=timestamp))
- #except DataFeatures.TimestampedException as e:
+ except DataFeatures.TimestampedException as e:
- #self.__exceptions.append(e)
+ self.__exceptions.append(e)
else: