From 9aa1be3a0781fb8573bb5c2865bf687f655aceea Mon Sep 17 00:00:00 2001 From: Q Date: Wed, 20 Aug 2025 22:13:36 +0300 Subject: [PATCH] no need to interpolated at toggle time --- tsmark/__init__.py | 2 +- tsmark/video_annotator.py | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/tsmark/__init__.py b/tsmark/__init__.py index e33dfb0..213264d 100644 --- a/tsmark/__init__.py +++ b/tsmark/__init__.py @@ -2,7 +2,7 @@ import argparse from tsmark.video_annotator import Marker -VERSION = "0.7.8" +VERSION = "0.7.9" class SmartFormatter(argparse.HelpFormatter): diff --git a/tsmark/video_annotator.py b/tsmark/video_annotator.py index e0d6c90..5bf20bb 100755 --- a/tsmark/video_annotator.py +++ b/tsmark/video_annotator.py @@ -579,7 +579,11 @@ class Marker: new_index = 0 self.points[self.point_index][self.nr]["visible"] = POINT_VISIBILITY[new_index] - self.interpolate_points() + try: + self.points_interpolated[self.point_index][self.nr]["visible"] = POINT_VISIBILITY[new_index] + except Exception as e: + print(e) + pass def track_point(self):