-
-
Notifications
You must be signed in to change notification settings - Fork 103
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
Fixed brightness tool symmetry and added multi-layer magic wand support #505
Conversation
flabbet
commented
Apr 8, 2023
•
edited
Loading
edited
- The brightness tool behaves weirdly when combined with symmetry #440 Addd pixel processor func to PixelOperation which acts a little like a post-process for pixels, so PixelOperation can be a little more dynamic. This fixes the issue with brightness tool symmetry
- Can't use Magic Wand on all layers when a folder is selected #477
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.
gj overall, seems to work well
{ | ||
path.MoveTo(point); | ||
this.mode = mode; | ||
this.memberGuid = memberGuid; | ||
this.referenceAll = referenceAll; | ||
this.memberGuids = memberGuids; | ||
this.drawOnMask = drawOnMask; |
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.
I've just noticed that drawOnMask is completely unused, let's remove it
var pos = controller!.LastPixelPosition; | ||
|
||
internals!.ActionAccumulator.AddActions(new MagicWand_Action(memberGuid, pos, mode, considerAllLayers, drawOnMask)); | ||
internals!.ActionAccumulator.AddActions(new MagicWand_Action(memberGuids, pos, mode, considerAllLayers)); |
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.
you are passing considerAllLayers as the drawOnMask argument (which is completely unused so this isn't a bug, it's just weird)