diff --git a/src/tools/intertwiners.h b/src/tools/intertwiners.h index be5704044..935adfa02 100644 --- a/src/tools/intertwiners.h +++ b/src/tools/intertwiners.h @@ -54,6 +54,16 @@ public: algo_line(x1, y1, x2, y2, loop, (AlgoPixel)doPointshapePoint); } + + // Closed shape + if (loop->getFilled()) { + int x1 = points[points.size()-1].x; + int y1 = points[points.size()-1].y; + int x2 = points[0].x; + int y2 = points[0].y; + + algo_line(x1, y1, x2, y2, loop, (AlgoPixel)doPointshapePoint); + } } }