update sla device with resolution. add halot sky device
This commit is contained in:
parent
790b1f5869
commit
ed9ddfd83e
10 changed files with 48 additions and 14 deletions
|
|
@ -1034,10 +1034,10 @@
|
|||
* 'expand' is used for top offsets in SLA mode
|
||||
*/
|
||||
function doDiff(slice, minArea, options = {}) {
|
||||
const { sla, fakedown } = options;
|
||||
if (slice.index === 0 && !fakedown) {
|
||||
return;
|
||||
}
|
||||
const { sla, fakedown } = options;
|
||||
const top = slice,
|
||||
down = slice.down || (fakedown ? newSlice(-1) : null),
|
||||
topInner = sla ? top.topPolys() : top.topInners(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue