improve sla visualization. remove slice view in sla mode
This commit is contained in:
parent
109f27e2e3
commit
21fbb9f88a
6 changed files with 94 additions and 25 deletions
|
|
@ -240,10 +240,12 @@ let gs_kiri_sla = exports;
|
|||
}
|
||||
let polys = slice.solids.unioned;
|
||||
polys.forEach(poly => {
|
||||
layer.poly(poly, 0x888888, true, false);
|
||||
layer.poly(poly, 0x222222, true);
|
||||
layer.solid(poly, 0x00bbee);
|
||||
count++;
|
||||
});
|
||||
});
|
||||
layer.renderSolid();
|
||||
layer.render();
|
||||
|
||||
if (count === 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue