mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 02:37:51 -06:00
A bit of refactoring and beautification.
This commit is contained in:
parent
e16f827223
commit
b58756f38b
6 changed files with 29 additions and 23 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue