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

Index mode spray does not handle masked color as expected #3063

Closed
hapiel opened this issue Nov 21, 2021 · 4 comments
Closed

Index mode spray does not handle masked color as expected #3063

hapiel opened this issue Nov 21, 2021 · 4 comments

Comments

@hapiel
Copy link

hapiel commented Nov 21, 2021

In indexed mode, when drawing with the masked color with the spray tool, on a non background layer, in "simple ink" mode, if the masked color does not have alpha 0, it either does not work or it attempts to draw another color.
See demonstration:

aseprite

Spray does draw a color (the one closest to the masked color) with right click if you have mask on right and random color on left, but not if you do that the other way around.

This behaviour is different from the pencil tool, the pencil tool behaves as I expect. Therefor the spray tool behaviour is unexpected.

Aseprite and System version

  • Aseprite version: v1.3-beta6-x64
  • System: Windows 10
@hapiel
Copy link
Author

hapiel commented Nov 21, 2021

See also the relevant Discord discussion:

https://discord.com/channels/324979738533822464/348146938530496513/911989782501003315

@Gasparoken
Copy link
Member

Thanks for this report @hapiel! We'll fix it.

@iamOgunyinka
Copy link
Contributor

@Gasparoken I can't reproduce this.

@Gasparoken
Copy link
Member

It can be reproduced by doing this:

  • New sprite - Indexed mode - transparent background
  • Use the PaintBucket tool to paint the entire sprite green (for example)
  • Select index 0 as the foreground color (it is the transparent color of this sprite)
  • Select the Pencil tool and draw on the canvas: you'll see that a stroke is being drawn
  • Select the Spray tool and draw on the canvas: you'll see nothing is drawn (the expected behavior is like the Pencil tool)

iamOgunyinka added a commit to iamOgunyinka/aseprite that referenced this issue Dec 15, 2021
@Gasparoken Gasparoken removed the wip label Dec 23, 2021
@dacap dacap modified the milestones: v1.2-stable, v1.2.34 Mar 2, 2022
@dacap dacap modified the milestones: v1.2.34, v1.2.35 Mar 14, 2022
@dacap dacap modified the milestones: v1.2.35, v1.x-bugs Jun 1, 2022
@martincapello martincapello self-assigned this Aug 30, 2022
@martincapello martincapello removed the wip label Sep 14, 2022
martincapello added a commit to martincapello/aseprite that referenced this issue Sep 15, 2022
@dacap dacap closed this as completed in 8d5f281 Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants