GPv3: Fix outline modifier edge cases #119084

Merged
Lukas Tönne merged 2 commits from LukasTonne/blender:fix-gp3-outline-keep-shape into main 2024-03-05 11:57:47 +01:00

2 Commits

Author SHA1 Message Date
Lukas Tönne 9ecfe86827 Fix skipped points when the stroke is very thick.
When the outline stroke thickness is increased the perimeter collapses
onto the input stroke due to the "keep shape" feature. In this edge case
the `add_corner` function was skipping points. It should always add at
least one point.
2024-03-05 11:47:58 +01:00
Lukas Tönne 0179db6d09 Clamp radius offset to avoid insetting beyond the center line.
This happens where the input stroke is thin and the outline has a larger
radius than the input stroke.
2024-03-05 11:24:05 +01:00