mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 09:17:52 -06:00
Very minor code improvements
This commit is contained in:
parent
2df750a9c9
commit
bab3404b2d
2 changed files with 7 additions and 7 deletions
|
@ -322,7 +322,7 @@ GCode::extrude(ExtrusionLoop loop, std::string description, double speed)
|
|||
if (this->config.spiral_vase) {
|
||||
loop.split_at(last_pos);
|
||||
} else if (this->config.seam_position == spNearest || this->config.seam_position == spAligned) {
|
||||
Polygon polygon = loop.polygon();
|
||||
const Polygon polygon = loop.polygon();
|
||||
|
||||
// simplify polygon in order to skip false positives in concave/convex detection
|
||||
// (loop is always ccw as polygon.simplify() only works on ccw polygons)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue