Skip to content

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

Closed

Description

@hapiel

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

Activity

  1. hapiel commented on Nov 21, 2021

    @hapiel
    Author
  2. Gasparoken commented on Nov 21, 2021

    @Gasparoken
    Member

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

  3. added this to the v1.2-stable milestone on Nov 21, 2021
  4. iamOgunyinka commented on Dec 13, 2021

    @iamOgunyinka
    Contributor

    @Gasparoken I can't reproduce this.

  5. Gasparoken commented on Dec 13, 2021

    @Gasparoken
    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)
  6. added 4 commits that reference this issue on Dec 15, 2021
    0505069
    0bb56be
    25cc215
    124adb2
  7. modified the milestones: v1.2-stable, v1.2.34 on Mar 2, 2022
  8. modified the milestones: v1.2.34, v1.2.35 on Mar 14, 2022
  9. modified the milestones: v1.2.35, v1.x-bugs on Jun 1, 2022
  10. added 2 commits that reference this issue on Sep 15, 2022
    f313f6e
    1d738f1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions