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

Smear mode crash #160

Closed
mriale opened this issue Sep 10, 2024 · 1 comment
Closed

Smear mode crash #160

mriale opened this issue Sep 10, 2024 · 1 comment
Assignees
Labels
bug Something isn't working ready to test Issue is fixed but not tested yet

Comments

@mriale
Copy link
Owner

mriale commented Sep 10, 2024

Smear mode crashes with a single pixel brush in some cases.

Steps to crash:

  • Start PyDPainter
  • Switch to Smear by pressing F4
  • Click anywhere on the canvas
  • Crash: TypeError: 'NoneType' object is not subscriptable
@mriale mriale added the bug Something isn't working label Sep 10, 2024
@mriale mriale self-assigned this Sep 10, 2024
@mriale
Copy link
Owner Author

mriale commented Sep 11, 2024

Added a transparent color to the 1-pixel brush, which the smear/blend code needs to make a mask from the brush.

@mriale mriale added the ready to test Issue is fixed but not tested yet label Sep 11, 2024
@mriale mriale closed this as completed Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ready to test Issue is fixed but not tested yet
Projects
None yet
Development

No branches or pull requests

1 participant