use [].concat, not Ox.merge
This commit is contained in:
parent
36d0162b8b
commit
1c40fb007b
27 changed files with 87 additions and 90 deletions
|
|
@ -321,7 +321,7 @@
|
|||
// intersect each part of the intersection
|
||||
// with all parts of the next area
|
||||
intersections = Ox.compact(ret.map(function(part) {
|
||||
return Ox.intersectAreas(Ox.merge(part, parts));
|
||||
return Ox.intersectAreas(parts.concat(part));
|
||||
}));
|
||||
ret = intersections.length == 0 ? null
|
||||
: Ox.joinAreas(intersections);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue