fix thin lines and fill offset. fix noodle render and z layer moves

This commit is contained in:
Stewart Allen 2020-11-01 23:01:43 -05:00
commit 49cde21201
4 changed files with 12 additions and 9 deletions

View file

@ -1371,7 +1371,8 @@
if (opt.aslines) {
emits.poly(poly, opt.color || color, false, true);
} else {
emits.noodle_open(poly, off - 0.02, color, 0x0, poly.getZ());
// first point may be from the layer below, so use second point
emits.noodle_open(poly, off - 0.02, color, 0x0, poly.getZ(1));
}
});
emits.renderAll();