Bug report
Describe the bug
In v0.6, when using Objects > Annotations > Split annotations by lines, the tool doesn’t work properly if I have multiple lines and set Line thickness to 0 px.
Instead of splitting, the lines are just removed and the annotation isn’t split at all.
If I set thickness to any value greater than 0 px, it works fine. With a single line, 0 px also still works (like it did in v0.5). But with multiple lines at 0 px, it fails.
In v0.5, 0 px worked fine for both single and multiple lines.
To Reproduce
- Draw an annotation.
- Draw 2 or more lines across it.
- Go to Objects > Annotations > Split annotations by lines.
- Set Line thickness = 0 px.
- Run the split → annotation isn’t split.
Expected behavior
Annotations should split correctly with multiple lines even when Line thickness = 0 px, same as in v0.5.
Screenshots
Desktop (please complete the following information):
- OS: [macOS Sequoia 15.5]
- QuPath Version: [0.6.0-arm64]
Additional context
Add any other context about the problem here.