Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(nodes): handle zero fade size (i.e. mask blur 0) #7852

Merged
merged 2 commits into from
Mar 27, 2025

Conversation

psychedelicious
Copy link
Collaborator

Summary

Handle edge case when user sets mask blur to 0 and we attempt to divide by zero

Related Issues / Discussions

Closes #7850

QA Instructions

n/a

Merge Plan

n/a

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • Documentation added / updated (if applicable)
  • Updated What's New copy (if doing a release after this PR)

@github-actions github-actions bot added python PRs that change python files invocations PRs that change invocations labels Mar 27, 2025
@github-actions github-actions bot added the frontend PRs that change frontend files label Mar 27, 2025
@psychedelicious psychedelicious changed the title fix(nodes): handle zero fade size (e.g. mask blur 0) fix(nodes): handle zero fade size (i.e. mask blur 0) Mar 27, 2025
@psychedelicious psychedelicious merged commit c6f9661 into main Mar 27, 2025
15 checks passed
@psychedelicious psychedelicious deleted the psyche/fix/nodes/div-by-zero-in-expand-mask branch March 27, 2025 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend PRs that change frontend files invocations PRs that change invocations python PRs that change python files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug]: ZeroDivsionError: float division by zero when Inpainting
2 participants