GraphiteEditor / GraphiteEditor/Graphite
Drawing by appending to the selected layer fails on empty layers
- Dominant language
- Rust
- Stars
- 27.2k
- Forks
- 1.3k
- Avg merge
- 20h 5m
- Merged PRs (30d)
- 57
Description
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:

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

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:

Currently, append-drawing results in this:

But the desired output in this case should be:

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.