fix donut top forming ring on top=0
This commit is contained in:
parent
bd01c4a779
commit
1878d6392c
1 changed files with 2 additions and 2 deletions
|
|
@ -176,7 +176,7 @@
|
|||
let flats = [];
|
||||
let shadow = [];
|
||||
let slices = [];
|
||||
let indices = slicer.interval(roughDown, { down: true, min: zBottom, fit: true, boff: 0.01 });
|
||||
let indices = slicer.interval(roughDown, { down: true, min: zBottom, fit: true, off: 0.01 });
|
||||
if (proc.camRoughFlat) {
|
||||
let flats = Object.keys(slicer.zFlat)
|
||||
.map(v => parseFloat(v).round(4))
|
||||
|
|
@ -311,7 +311,7 @@
|
|||
|
||||
let shadow = [];
|
||||
let slices = [];
|
||||
let indices = slicer.interval(outlineDown, { down: true, min: zBottom, fit: true, boff: 0.01 });
|
||||
let indices = slicer.interval(outlineDown, { down: true, min: zBottom, fit: true, off: 0.01 });
|
||||
// add flats to shadow
|
||||
const flats = Object.keys(slicer.zFlat)
|
||||
.map(v => (parseFloat(v) - 0.01).round(5))
|
||||
|
|
|
|||
Loading…
Reference in a new issue