Prebuilt module for commit 7412939096

This commit is contained in:
Paper.js Bot 2017-10-04 19:50:24 +00:00
parent b19cf62c62
commit cb95b131a0
5 changed files with 55 additions and 40 deletions

View file

@ -9,7 +9,7 @@
* *
* All rights reserved. * All rights reserved.
* *
* Date: Wed Oct 4 17:52:09 2017 +0200 * Date: Wed Oct 4 21:43:56 2017 +0200
* *
*** ***
* *
@ -10350,16 +10350,20 @@ PathItem.inject(new function() {
function collect(inter, end) { function collect(inter, end) {
while (inter && inter !== end) { while (inter && inter !== end) {
var other = inter._segment, var other = inter._segment,
path = other._path, path = other && other._path;
next = other.getNext() || path && path.getFirstSegment(), if (path) {
nextInter = next && next._intersection; var next = other.getNext() || path.getFirstSegment(),
if (other !== segment && (isStart(other) || isStart(next) nextInter = next._intersection;
|| next && (isValid(other) && (isValid(next) if (other !== segment && (isStart(other)
|| nextInter && isValid(nextInter._segment))))) { || isStart(next)
crossings.push(other); || next && (isValid(other) && (isValid(next)
|| nextInter && isValid(nextInter._segment))))
) {
crossings.push(other);
}
if (collectStarts)
starts.push(other);
} }
if (collectStarts)
starts.push(other);
inter = inter._next; inter = inter._next;
} }
} }
@ -10450,7 +10454,8 @@ PathItem.inject(new function() {
visited.length = 0; visited.length = 0;
do { do {
seg = branch && branch.crossings.shift(); seg = branch && branch.crossings.shift();
if (!seg) { if (!seg || !seg._path) {
seg = null;
branch = branches.pop(); branch = branches.pop();
if (branch) { if (branch) {
visited = branch.visited; visited = branch.visited;

27
dist/paper-core.js vendored
View file

@ -9,7 +9,7 @@
* *
* All rights reserved. * All rights reserved.
* *
* Date: Wed Oct 4 17:52:09 2017 +0200 * Date: Wed Oct 4 21:43:56 2017 +0200
* *
*** ***
* *
@ -10350,16 +10350,20 @@ PathItem.inject(new function() {
function collect(inter, end) { function collect(inter, end) {
while (inter && inter !== end) { while (inter && inter !== end) {
var other = inter._segment, var other = inter._segment,
path = other._path, path = other && other._path;
next = other.getNext() || path && path.getFirstSegment(), if (path) {
nextInter = next && next._intersection; var next = other.getNext() || path.getFirstSegment(),
if (other !== segment && (isStart(other) || isStart(next) nextInter = next._intersection;
|| next && (isValid(other) && (isValid(next) if (other !== segment && (isStart(other)
|| nextInter && isValid(nextInter._segment))))) { || isStart(next)
crossings.push(other); || next && (isValid(other) && (isValid(next)
|| nextInter && isValid(nextInter._segment))))
) {
crossings.push(other);
}
if (collectStarts)
starts.push(other);
} }
if (collectStarts)
starts.push(other);
inter = inter._next; inter = inter._next;
} }
} }
@ -10450,7 +10454,8 @@ PathItem.inject(new function() {
visited.length = 0; visited.length = 0;
do { do {
seg = branch && branch.crossings.shift(); seg = branch && branch.crossings.shift();
if (!seg) { if (!seg || !seg._path) {
seg = null;
branch = branches.pop(); branch = branches.pop();
if (branch) { if (branch) {
visited = branch.visited; visited = branch.visited;

File diff suppressed because one or more lines are too long

27
dist/paper-full.js vendored
View file

@ -9,7 +9,7 @@
* *
* All rights reserved. * All rights reserved.
* *
* Date: Wed Oct 4 17:52:09 2017 +0200 * Date: Wed Oct 4 21:43:56 2017 +0200
* *
*** ***
* *
@ -10350,16 +10350,20 @@ PathItem.inject(new function() {
function collect(inter, end) { function collect(inter, end) {
while (inter && inter !== end) { while (inter && inter !== end) {
var other = inter._segment, var other = inter._segment,
path = other._path, path = other && other._path;
next = other.getNext() || path && path.getFirstSegment(), if (path) {
nextInter = next && next._intersection; var next = other.getNext() || path.getFirstSegment(),
if (other !== segment && (isStart(other) || isStart(next) nextInter = next._intersection;
|| next && (isValid(other) && (isValid(next) if (other !== segment && (isStart(other)
|| nextInter && isValid(nextInter._segment))))) { || isStart(next)
crossings.push(other); || next && (isValid(other) && (isValid(next)
|| nextInter && isValid(nextInter._segment))))
) {
crossings.push(other);
}
if (collectStarts)
starts.push(other);
} }
if (collectStarts)
starts.push(other);
inter = inter._next; inter = inter._next;
} }
} }
@ -10450,7 +10454,8 @@ PathItem.inject(new function() {
visited.length = 0; visited.length = 0;
do { do {
seg = branch && branch.crossings.shift(); seg = branch && branch.crossings.shift();
if (!seg) { if (!seg || !seg._path) {
seg = null;
branch = branches.pop(); branch = branches.pop();
if (branch) { if (branch) {
visited = branch.visited; visited = branch.visited;

File diff suppressed because one or more lines are too long