Skip to content

Conversation

Geeknasty
Copy link

Updates LayeredDiffusionDecodeRGBA in layered_diffusion.py for ComfyUI V3 schema changes (from PR #10174).
Fixes: #131

Issue

Original code broke with error:

!!! Exception during processing !!! 'JoinImageWithAlpha' object has no attribute 'join_image_with_alpha'
[Traceback omitted for brevity]

Fix

- return JoinImageWithAlpha().join_image_with_alpha(image, alpha)
+ return JoinImageWithAlpha.execute(image, alpha)

Tested and functional.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Heads up, nodes_compositing.py will be converted to V3 Schema soon (Oct 8th)!

1 participant