mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Deactivate use of sameDir in Path#reduce() for now.
This commit is contained in:
parent
cb6afda083
commit
17d000266f
1 changed files with 3 additions and 1 deletions
|
@ -1035,7 +1035,9 @@ var Path = PathItem.extend(/** @lends Path# */{
|
|||
// Pass true for sameDir, as we can only remove straight
|
||||
// curves if they point in the same direction as the next
|
||||
// curve, not 180° in the opposite direction.
|
||||
|| curve.isCollinear(curve.getNext(), true)))
|
||||
// NOTE: sameDir is temporarily deactivate until overlaps
|
||||
// are handled properly.
|
||||
|| curve.isCollinear(curve.getNext(), false)))
|
||||
curve.remove();
|
||||
}
|
||||
return this;
|
||||
|
|
Loading…
Reference in a new issue