From a1bc41b04a5ea2c4261f1fcbf4cd6cbcae4555c4 Mon Sep 17 00:00:00 2001 From: Jonathan Thomas Date: Sat, 21 Feb 2026 16:12:50 -0600 Subject: [PATCH] Debugging chunk boundaries with SAM2 --- nodes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nodes.py b/nodes.py index daeb086..4dd3f3f 100644 --- a/nodes.py +++ b/nodes.py @@ -59,8 +59,8 @@ GROUNDING_DINO_MODEL_IDS = ( ) GROUNDING_DINO_CACHE = {} def _sam2_debug_enabled(): - v = str(os.environ.get("OPENSHOT_SAM2_DEBUG", "")).strip().lower() - return v in ("1", "true", "yes", "on", "debug") + # Temporary: always-on debug while we diagnose chunk/carry drift. + return True def _sam2_debug(*parts):