mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-18 20:28:08 -06:00
Bugfix: crash when rendering lines with zero length in 3D preview. #2569
This commit is contained in:
parent
a10a554e2a
commit
c264969962
8 changed files with 35 additions and 30 deletions
|
@ -92,14 +92,13 @@ class ExtrusionLoop : public ExtrusionEntity
|
|||
bool is_loop() const {
|
||||
return true;
|
||||
};
|
||||
operator Polygon() const;
|
||||
ExtrusionLoop* clone() const;
|
||||
bool make_clockwise();
|
||||
bool make_counter_clockwise();
|
||||
void reverse();
|
||||
Point first_point() const;
|
||||
Point last_point() const;
|
||||
void polygon(Polygon* polygon) const;
|
||||
Polygon polygon() const;
|
||||
double length() const;
|
||||
bool split_at_vertex(const Point &point);
|
||||
void split_at(const Point &point);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue