mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-15 13:45:57 +08:00
#185 fix looping perimeters when a loop has mixed role.
note: that line takes me hours to find it.
This commit is contained in:
parent
525eed0a5f
commit
0b861f0c51
@ -1056,8 +1056,8 @@ PerimeterGenerator::_extrude_and_cut_loop(const PerimeterGeneratorLoop &loop, co
|
|||||||
// reapply the nearest point search for starting point
|
// reapply the nearest point search for starting point
|
||||||
// We allow polyline reversal because Clipper may have randomly
|
// We allow polyline reversal because Clipper may have randomly
|
||||||
// reversed polylines during clipping.
|
// reversed polylines during clipping.
|
||||||
if(!paths.empty())
|
if (!paths.empty())
|
||||||
paths = (ExtrusionPaths)ExtrusionEntityCollection(paths).chained_path_from(paths.front().first_point());
|
chain_and_reorder_extrusion_paths(paths, &paths.front().first_point());
|
||||||
|
|
||||||
|
|
||||||
if (direction.length() > 0) {
|
if (direction.length() > 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user