Prebuilt module for commit 009761d13c

This commit is contained in:
Paper.js Bot 2016-02-13 22:02:15 +00:00
parent 56244b6847
commit e20a7086b3
5 changed files with 25 additions and 25 deletions

View file

@ -9,7 +9,7 @@
* *
* All rights reserved. * All rights reserved.
* *
* Date: Sat Feb 13 22:41:09 2016 +0100 * Date: Sat Feb 13 22:58:42 2016 +0100
* *
*** ***
* *
@ -9570,16 +9570,16 @@ PathItem.inject(new function() {
handleIn; handleIn;
if (!seg._visited && seg._path._overlapsOnly) { if (!seg._visited && seg._path._overlapsOnly) {
var path1 = seg._path, var path1 = seg._path,
path2 = inter._segment._path; path2 = inter._segment._path,
if (path1.equals(path2)) { segments1 = path1._segments,
segments2 = path2._segments;
if (Base.equals(segments1, segments2)) {
if ((operator.unite || operator.intersect) if ((operator.unite || operator.intersect)
&& path1.getArea()) { && path1.getArea()) {
paths.push(path1.clone(false)); paths.push(path1.clone(false));
} }
var segs1 = path1._segments, for (var j = 0, k = segments1.length; j < k; j++) {
segs2 = path2._segments; segments1[j]._visited = segments2[j]._visited = true;
for (var j = 0, m = segs1.length; j < m; j++) {
segs1[j]._visited = segs2[j]._visited = true;
} }
} }
} }

14
dist/paper-core.js vendored
View file

@ -9,7 +9,7 @@
* *
* All rights reserved. * All rights reserved.
* *
* Date: Sat Feb 13 22:41:09 2016 +0100 * Date: Sat Feb 13 22:58:42 2016 +0100
* *
*** ***
* *
@ -9570,16 +9570,16 @@ PathItem.inject(new function() {
handleIn; handleIn;
if (!seg._visited && seg._path._overlapsOnly) { if (!seg._visited && seg._path._overlapsOnly) {
var path1 = seg._path, var path1 = seg._path,
path2 = inter._segment._path; path2 = inter._segment._path,
if (path1.equals(path2)) { segments1 = path1._segments,
segments2 = path2._segments;
if (Base.equals(segments1, segments2)) {
if ((operator.unite || operator.intersect) if ((operator.unite || operator.intersect)
&& path1.getArea()) { && path1.getArea()) {
paths.push(path1.clone(false)); paths.push(path1.clone(false));
} }
var segs1 = path1._segments, for (var j = 0, k = segments1.length; j < k; j++) {
segs2 = path2._segments; segments1[j]._visited = segments2[j]._visited = true;
for (var j = 0, m = segs1.length; j < m; j++) {
segs1[j]._visited = segs2[j]._visited = true;
} }
} }
} }

File diff suppressed because one or more lines are too long

14
dist/paper-full.js vendored
View file

@ -9,7 +9,7 @@
* *
* All rights reserved. * All rights reserved.
* *
* Date: Sat Feb 13 22:41:09 2016 +0100 * Date: Sat Feb 13 22:58:42 2016 +0100
* *
*** ***
* *
@ -9570,16 +9570,16 @@ PathItem.inject(new function() {
handleIn; handleIn;
if (!seg._visited && seg._path._overlapsOnly) { if (!seg._visited && seg._path._overlapsOnly) {
var path1 = seg._path, var path1 = seg._path,
path2 = inter._segment._path; path2 = inter._segment._path,
if (path1.equals(path2)) { segments1 = path1._segments,
segments2 = path2._segments;
if (Base.equals(segments1, segments2)) {
if ((operator.unite || operator.intersect) if ((operator.unite || operator.intersect)
&& path1.getArea()) { && path1.getArea()) {
paths.push(path1.clone(false)); paths.push(path1.clone(false));
} }
var segs1 = path1._segments, for (var j = 0, k = segments1.length; j < k; j++) {
segs2 = path2._segments; segments1[j]._visited = segments2[j]._visited = true;
for (var j = 0, m = segs1.length; j < m; j++) {
segs1[j]._visited = segs2[j]._visited = true;
} }
} }
} }

File diff suppressed because one or more lines are too long