From 8bca327a078db1a5e9049f5148f6e611ffbb381e Mon Sep 17 00:00:00 2001 From: CGlide Date: Fri, 19 Jun 2026 12:23:29 +0200 Subject: [PATCH] Bug Fix :Global prompt optional --- ltx_director.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ltx_director.py b/ltx_director.py index 8f77070..084e57e 100644 --- a/ltx_director.py +++ b/ltx_director.py @@ -865,6 +865,12 @@ class LTXDirector(io.ComfyNode): global_prompt, local_prompts, char1_val, char2_val, char3_val ) + # If no global prompt was entered, fall back to the first timeline/local prompt as + # the global anchor (restores prior behaviour; avoids an empty tail segment in the + # relay, which would otherwise trip the 'segment missing a prompt' guard). + if not (processed_global or "").strip() and processed_local: + processed_global = processed_local.split("|")[0].strip() + # ====== LICON MSR DIRECTOR ENGINE (relay-aware) ====== # Axis separation, so the relay and IC-LoRA never fight over the same bookkeeping: # - Character slots -> IDENTITY. Built into the IC-LoRA slideshow AND pinned as