fix slice first height with grouped parts
This commit is contained in:
parent
213694040f
commit
fabfa872bc
2 changed files with 12 additions and 2 deletions
|
|
@ -103,7 +103,7 @@ let gs_kiri_slicer = exports;
|
|||
bounds = btmp;
|
||||
}
|
||||
|
||||
let zMin = options.zmin || Math.floor(bounds.min.z),
|
||||
let zMin = options.zmin || options.firstHeight || Math.floor(bounds.min.z),
|
||||
zMax = options.zmax || Math.ceil(bounds.max.z),
|
||||
zInc = options.height,
|
||||
zIncMin = options.minHeight,
|
||||
|
|
|
|||
Loading…
Reference in a new issue