1
0
Fork 0
freesewing/packages/core/src
joostdecock 5ba6e12469 fix(core): Make Path.clean() check for valid paths before returning
A path that has no drawing operations or only a move operation causes
problems with the path offset code.

This will cause Path.clean() to return false in such a case, which in
turn will cause Path.__asPath() to return false when called from the
offset code.

We check this return value in the offset code and do not push this
segment to the offsetted path.

This fixes #3038
This closes #3056
2023-04-10 11:27:07 +02:00
..
attributes.mjs chore(core): Refactor v3 code 2022-09-18 15:11:10 +02:00
config.mjs chore(core): Remove debug setting 2022-12-16 11:39:24 -08:00
design.mjs fix(core): Fixed issue with wrong store for log 2022-09-25 10:55:37 +02:00
hooks.mjs add pre-layout hook for consistency between getRenderProps and render 2022-11-14 14:01:50 -06:00
index.mjs use presets for common hide configurations 2023-03-08 14:37:09 -06:00
part.mjs store methods don't become properties on shorthand 2023-03-12 09:19:50 -05:00
path.mjs fix(core): Make Path.clean() check for valid paths before returning 2023-04-10 11:27:07 +02:00
pattern-config.mjs document and cleanup 2023-03-08 14:37:09 -06:00
pattern-draft-queue.mjs more documentation 2023-03-04 09:08:09 -06:00
pattern.mjs store methods don't become properties on shorthand 2023-03-12 09:19:50 -05:00
point.mjs fix(core): Fix typo in points.mjs comment 2022-12-08 22:37:50 -08:00
snippet.mjs chore(core): Refactor v3 code 2022-09-18 15:11:10 +02:00
stack.mjs fix(core): Fixed issue with wrong store for log 2022-09-25 10:55:37 +02:00
store.mjs document and refactor 2023-03-04 09:08:09 -06:00
svg.mjs add pre-layout hook for consistency between getRenderProps and render 2022-11-14 14:01:50 -06:00
utils.mjs fix(core): Use shift instead of array index 2023-01-06 11:14:45 -08:00