mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-27 10:41:15 -06:00
Renamed Line::offset to extend
Don't use unscaled constants! What if the scaling constant changes in the future?
This commit is contained in:
parent
958acad85b
commit
3e50699576
3 changed files with 4 additions and 4 deletions
|
|
@ -625,7 +625,7 @@ static Line create_offset_line(const Line &line_to_offset, const Intersection &i
|
|||
Line offset_line = line_to_offset;
|
||||
offset_line.translate(offset_vector.x(), offset_vector.y());
|
||||
// Extend the line by small value to guarantee a collision with adjacent lines
|
||||
offset_line.offset(1000000);
|
||||
offset_line.extend(coord_t(scale_(1.)));
|
||||
return offset_line;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue