clear ranges on widget delete. add debug indices for slicing
This commit is contained in:
parent
ac57c4b4ee
commit
e84a4f4251
3 changed files with 18 additions and 2 deletions
|
|
@ -239,7 +239,10 @@
|
|||
zOrdered.sort(function(a,b) { return a - b});
|
||||
}
|
||||
|
||||
if (useFlats) {
|
||||
if (options.indices) {
|
||||
zIndexes = options.indices;
|
||||
zHeights = zIndexes.map(v => options.height);
|
||||
} else if (useFlats) {
|
||||
zIndexes.appendAll(zOrdered);
|
||||
} else if (options.single) {
|
||||
// usually for laser single slice
|
||||
|
|
|
|||
Loading…
Reference in a new issue