Skip to content

Commit 86917e3

Browse files
committed
feat(): rm redundant pathClone call
1 parent a773a2e commit 86917e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

intersect.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@ function getPathCurve(path) {
768768

769769
// return cached curve, if existing
770770
if (pth.curve) {
771-
return pathClone(pth.curve);
771+
return pth.curve;
772772
}
773773

774774
// retrieve abs path OR create and cache if non existing
@@ -786,7 +786,7 @@ function getPathCurve(path) {
786786
));
787787

788788
// cache curve
789-
return pathClone(pth.curve = pathToCurve(abs));
789+
return (pth.curve = pathToCurve(abs));
790790
}
791791

792792
function pathToCurve(absPath) {

0 commit comments

Comments
 (0)