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.
This commit is contained in:
2026-07-13 10:19:30 +08:00
parent 632ef5b495
commit a753d2f787
+5 -3
View File
@@ -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()) {