From a753d2f7873889ad9e23a1f94118ec0e9dad1fef Mon Sep 17 00:00:00 2001 From: Mike Solar Date: Fri, 3 Jul 2026 13:56:10 +0800 Subject: [PATCH] Always recreate LUT processor when input changes (debug) Temporarily disable the last_path_/last_direction_ reuse check to rule out stale processor reuse as the cause of LUT changes not appearing in the viewer. --- app/node/color/ociolut/ociolut.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/node/color/ociolut/ociolut.cpp b/app/node/color/ociolut/ociolut.cpp index 3ad968d25..0d57896b3 100644 --- a/app/node/color/ociolut/ociolut.cpp +++ b/app/node/color/ociolut/ociolut.cpp @@ -131,9 +131,11 @@ void OCIOLutNode::GenerateProcessor() } // Re-use the existing processor if the file and direction haven't changed. - if (path == last_path_ && direction == last_direction_ && last_processor_) { - return; - } + // NOTE: This is intentionally disabled while debugging LUT switching issues + // to ensure the processor is always recreated when the input changes. + // if (path == last_path_ && direction == last_direction_ && last_processor_) { + // return; + // } const QFileInfo info(path); if (!info.exists() || !info.isFile()) {