fix: loop roll failures reach the guard (recorded, dropped, call rerun); sampler keeps an empty fault record
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
6ac6acf612
commit
397f36014a
@@ -102,8 +102,11 @@ class FunPackSampler(io.ComfyNode):
|
||||
# its cache -- so it is emptied here rather than trusted to be fresh.
|
||||
# Otherwise a modifier dropped in one generation stays dropped in every
|
||||
# later one, with nothing said.
|
||||
dropped = (getattr(model, "model_options", {}).get("funpack_dropped") or getattr(model, "funpack_dropped", None)
|
||||
or patching.Dropped())
|
||||
dropped = getattr(model, "model_options", {}).get("funpack_dropped")
|
||||
if dropped is None:
|
||||
dropped = getattr(model, "funpack_dropped", None)
|
||||
if dropped is None:
|
||||
dropped = patching.Dropped()
|
||||
dropped.clear()
|
||||
|
||||
latent = latent.copy()
|
||||
|
||||
Reference in New Issue
Block a user