1
0
Fork 0

fix(core): Fix bug in path.shiftAlong

This bug would be triggered by an edge-case where we have a path
that is made up of multiple curves/lines.

If the distance to shift lies just beyond the end of one segment,
yet the remaining distance is smaller than the step (by default
that means smaller than 1/25mm) no point would be returned.

This closes #1140
This commit is contained in:
Joost De Cock 2021-06-22 18:24:11 +02:00
parent 736ce6d854
commit c463b10e43
5 changed files with 42 additions and 4 deletions

View file

@ -46,6 +46,11 @@
components:
- Correctly load saved value for mm options
See [#1136](https://github.com/freesewing/freesewing/issues/1136)
core:
- Fix a bug in `path.shiftAlong` where no point is returned if the
distance to shift is a fraction of one step (1/25mm) into a new
path segment
See [#1140](https://github.com/freesewing/freesewing/issues/1140)
paco:
- The waistband was incorrectly using the cuff widht
See [#1113](https://github.com/freesewing/freesewing/issues/1113)