A bit of refactoring and beautification.

This commit is contained in:
bubnikv committed 2017-09-18 10:01:37 +02:00
1 parent e16f827223
commit b58756f38b
6 files changed
+29 -23

No files matched your search

+2 -3
View File
@@ -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);
}
}
}