mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-19 14:10:14 -05:00
Minor simplification.
This commit is contained in:
parent
74a153dd88
commit
9de4189233
1 changed files with 1 additions and 1 deletions
|
@ -319,7 +319,7 @@ var PathItem = Item.extend(/** @lends PathItem# */{
|
|||
newSegments.length = 0;
|
||||
}
|
||||
// Split the curve at t, while ignoring linearity of curves
|
||||
if ((crvNew = crv.divide(t, true, true)) === null) {
|
||||
if (!(crvNew = crv.divide(t, true, true))) {
|
||||
if (t >= 1-tolerance) {
|
||||
segment = crv._segment2;
|
||||
} else if (t <= tolerance) {
|
||||
|
|
Loading…
Reference in a new issue