fix hole detection clobbering slice selection in outline when roughing enabled
This commit is contained in:
parent
ecc86f42e1
commit
4e9955b7a2
1 changed files with 2 additions and 2 deletions
|
|
@ -261,7 +261,7 @@
|
|||
function holes(slices, offset, onupdate) {
|
||||
let last;
|
||||
|
||||
slices.reverse().forEach(function(slice,index) {
|
||||
slices.slice().reverse().forEach(function(slice,index) {
|
||||
let holes = slice.gatherTopPolyInners([]).clone();
|
||||
if (last) {
|
||||
let inter = [];
|
||||
|
|
@ -1065,7 +1065,7 @@
|
|||
|
||||
if (procRough) {
|
||||
let selected = [];
|
||||
selectSlices(slices, camRoughDown, CPRO.ROUGH, selected);
|
||||
selectSlices(slices, camRoughDown * units, CPRO.ROUGH, selected);
|
||||
if (zThru) {
|
||||
addZThru(selected);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue