disable shadow because not needed for belt supports

This commit is contained in:
Stewart Allen 2021-05-06 10:10:10 -04:00
commit 246afa752d

View file

@ -264,7 +264,7 @@
// create shadow for clipping supports
let shadow = null;
if (true || spro.sliceSupportEnable) {
if (!isBelt || spro.sliceSupportEnable) {
let alltops = slices.map(slice => slice.topPolys()).flat();
shadow = POLY.union(alltops,null,0.1);
if (spro.sliceSupportExtra) {