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

Improve output type of Separate Color node #2910

Merged

Conversation

RunDevelopment
Copy link
Member

If the color isn't RGBA, then we know the Alpha value.

image


Other changes:

  • Require grayscale, RGB, or RGBA color. This is just formality.
  • Removed last else branch. This allows pyright to verify that we covered all enum options and give us a type error in case we add more.

@joeyballentine joeyballentine merged commit 0876bc8 into chaiNNer-org:main May 24, 2024
14 checks passed
@RunDevelopment RunDevelopment deleted the impr-sep-color-tyep branch May 24, 2024 13:12
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.

None yet

2 participants