Skip to content

Conversation

@Equious
Copy link
Contributor

@Equious Equious commented Jan 25, 2026

// Before (buggy):
if (load_sd_image_from_file(&mask_image, ...)) {

// After (fixed):
if (!load_sd_image_from_file(&mask_image, ...)) {

The current conditional check causes mask loading to always fail because the success return value triggers the error path.

@leejet
Copy link
Owner

leejet commented Jan 25, 2026

Thank you for your contribution.

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.

2 participants