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) {
|
function holes(slices, offset, onupdate) {
|
||||||
let last;
|
let last;
|
||||||
|
|
||||||
slices.reverse().forEach(function(slice,index) {
|
slices.slice().reverse().forEach(function(slice,index) {
|
||||||
let holes = slice.gatherTopPolyInners([]).clone();
|
let holes = slice.gatherTopPolyInners([]).clone();
|
||||||
if (last) {
|
if (last) {
|
||||||
let inter = [];
|
let inter = [];
|
||||||
|
|
@ -1065,7 +1065,7 @@
|
||||||
|
|
||||||
if (procRough) {
|
if (procRough) {
|
||||||
let selected = [];
|
let selected = [];
|
||||||
selectSlices(slices, camRoughDown, CPRO.ROUGH, selected);
|
selectSlices(slices, camRoughDown * units, CPRO.ROUGH, selected);
|
||||||
if (zThru) {
|
if (zThru) {
|
||||||
addZThru(selected);
|
addZThru(selected);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue