From f0a8fe53d477b9d8d8bb5a4b449b42e60528354b Mon Sep 17 00:00:00 2001 From: digital-garbage <133010426+digital-garbage@users.noreply.github.com> Date: Sat, 30 May 2026 13:03:41 +0300 Subject: [PATCH] Fix Save Refinement Latent not executing + decouple motion floor from liked_dir OUTPUT_NODE = True forces ComfyUI to run the node even with no downstream connection on the LATENT output. Motion floor now activates as soon as embed_guidance is on and a refinement key is set, independent of liked_dir. Co-Authored-By: Claude Sonnet 4.6 --- conditioning.py | 1 + samplers.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/conditioning.py b/conditioning.py index bd70c441..866c3bf8 100644 --- a/conditioning.py +++ b/conditioning.py @@ -11966,6 +11966,7 @@ class FunPackSaveRefinementLatent: CATEGORY = "FunPack/Refinement" RETURN_TYPES = ("LATENT", "STRING") RETURN_NAMES = ("latent", "status") + OUTPUT_NODE = True FUNCTION = "save_latent" DESCRIPTION = ( "Saves a video latent under a refinement key so Studio and Refiner V2 can compute " diff --git a/samplers.py b/samplers.py index a36311ec..34df35cf 100644 --- a/samplers.py +++ b/samplers.py @@ -1580,7 +1580,7 @@ class FunPackLTXAVSceneChainSampler: sampled = self._sample_chunk( model, sampler, sigmas, scene_seed, cfg, scene_positive, scene_negative, chunk, latent_vf=_latent_vf, latent_vf_strength=embed_guidance_strength if _latent_vf else 0.0, - motion_floor=embed_guidance and _liked_dir is not None, + motion_floor=embed_guidance and bool(refinement_key_input), ) if embed_guidance and _liked_dir is not None: if _eg_old_wrapper is not None: