-
Notifications
You must be signed in to change notification settings - Fork 272
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
Regression - #1799: Fix pen dabs being added to each other #1800
Conversation
a6a17d1
to
4dbd2bc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
4dbd2bc
to
8baa511
Compare
Hmm.. you're right, that was not correct. Even though I tested and compared against the stable version, I failed to see the difference. This time i've made sure to apply the exact same steps. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very good, the pen tool does indeed seem to be working as intended again, but now the eraser is broken. Using it has no effect at all.
Ah you're right, that seems to be the case with master as well though but it's likely my fault too and related, so I'll look into it. If only i had written some tests to avoid these cases 😔 There's still room for improvements regarding separation of concern 🙃 |
No, I’m seeing that eraser issue only with this PR. Whatever you’re seeing on master must be a separate issue from what I described above. |
Actually the first check in canvas painter would always return true because the blitRect and mTilledBuffer rect are in different coordinate spaces.
b4e4faa
to
061e085
Compare
I've had some time to think and experimented a bit.. try again with the latest changes. Also thanks for reviewing and being meticulous 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good now, thanks for figuring that out!
Though I noticed another issue unrelated to this PR where the smudge tool is kinda broken… well more broken than before I guess. Welp.
Fixes #1799 which was reported on Discord https://discord.com/channels/342369662710972417/375357444307812352/1180835637566390344