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 <noreply@anthropic.com>
This commit is contained in:
digital-garbage
2026-05-30 13:03:41 +03:00
co-authored by Claude Sonnet 4.6
parent c763bfee08
commit f0a8fe53d4
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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 "
+1 -1
View File
@@ -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: