Skip to content

Drawing by appending to the selected layer fails on empty layers #2584

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

Open
Keavon opened this issue Apr 16, 2025 · 0 comments
Open

Drawing by appending to the selected layer fails on empty layers #2584

Keavon opened this issue Apr 16, 2025 · 0 comments
Labels
Good First Issue Good for newcomers

Comments

@Keavon
Copy link
Member

Keavon commented Apr 16, 2025

You can use the Pen, Spline, or Freehand tool to draw while holding Shift to append to an existing selected layer of vector content. But if you create a brand new layer and draw on it with Shift held, this is the result:

Image

Whereas this is the normal result of drawing (where a new layer appears):

Image

So we need to detect if no existing vector data is there, and if so, add the Path and Stroke nodes instead of the Flatten Vector Elements node.

It also needs to work on "empty" layers that do contain modifier nodes, like this:

Image

Currently, append-drawing results in this:

Image

But the desired output in this case should be:

Image

@Keavon Keavon added the Good First Issue Good for newcomers label Apr 16, 2025
@github-project-automation github-project-automation bot moved this to Short-Term in Task Board Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Good First Issue Good for newcomers
Projects
Status: Short-Term
Development

No branches or pull requests

1 participant