mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 10:32:20 +00:00
A bit of refactoring and beautification.
This commit is contained in:
@@ -511,11 +511,10 @@ PerimeterGenerator::_variable_width(const ThickPolylines &polylines, ExtrusionRo
|
||||
|
||||
// append paths to collection
|
||||
if (!paths.empty()) {
|
||||
if (paths.front().first_point().coincides_with(paths.back().last_point())) {
|
||||
if (paths.front().first_point().coincides_with(paths.back().last_point()))
|
||||
coll.append(ExtrusionLoop(paths));
|
||||
} else {
|
||||
else
|
||||
coll.append(paths);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user