fix "reverse on odd"

This commit is contained in:
Wang YB
2024-06-05 10:44:28 +08:00
parent ad0215fa2f
commit a1c4285ffc

View File

@@ -691,8 +691,8 @@ static ExtrusionEntityCollection traverse_extrusions(const PerimeterGenerator::P
// or the end of the extrusions to make one continuous line. Also, we prefer a non-overhang // or the end of the extrusions to make one continuous line. Also, we prefer a non-overhang
// starting point. // starting point.
//w38 //w38
ExtrusionLoop extrusion_loop(std::move(paths), pg_extrusion.is_contour ? elrDefault : elrHole); //ExtrusionLoop extrusion_loop(std::move(paths), pg_extrusion.is_contour ? elrDefault : elrHole);
extrusion_loop.make_counter_clockwise(); //extrusion_loop.make_counter_clockwise();
struct PointInfo struct PointInfo
{ {
size_t occurrence = 0; size_t occurrence = 0;