fix for omissions of small lines
This commit is contained in:
parent
05cd4a5e4f
commit
ab422d20c0
1 changed files with 4 additions and 0 deletions
|
|
@ -217,6 +217,10 @@ class Layers {
|
||||||
const { faces, normals } = poly.toPath3D(offset, height, 0);
|
const { faces, normals } = poly.toPath3D(offset, height, 0);
|
||||||
const cur = this.current;
|
const cur = this.current;
|
||||||
const one = cur.paths;
|
const one = cur.paths;
|
||||||
|
// happens with very short lines being omitted
|
||||||
|
if (!(faces && normals)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if (one) {
|
if (one) {
|
||||||
// merge all contour geometry for massive speed gain
|
// merge all contour geometry for massive speed gain
|
||||||
// todo: recode to concat all geometries at once, and not incrementally
|
// todo: recode to concat all geometries at once, and not incrementally
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue