Skip to content

[BUG] "Unite" on a path with multiple closed shapes can stop eraser from working #112

@BaronAWC

Description

@BaronAWC

Describe the bug
If you create a situation where a single path object has 2 closed loops (easiest way is to unite 2 paths that don't intersect), trying to erase the shape will cause the eraser to bug out for the rest of the session.

To reproduce
Steps to reproduce the behavior:

  1. make 2 rectangles that don't touch each other
  2. unite the shapes
  3. try to erase part of the new shape

the console will print a warning, and the eraser will not work for the rest of the session.

Expected behavior
the eraser works as usual

Screenshots
Image

Editor version
reproducible on all versions

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions