mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-18 20:28:08 -06:00
Restore correct ordering of concentric infill loops, preventing them from being reordered during G-code generation
This commit is contained in:
parent
25cddfe446
commit
6cab5668e3
6 changed files with 24 additions and 4 deletions
|
@ -38,6 +38,9 @@ class ExtrusionEntity
|
|||
virtual bool is_loop() const {
|
||||
return false;
|
||||
};
|
||||
virtual bool can_reverse() const {
|
||||
return true;
|
||||
};
|
||||
virtual ExtrusionEntity* clone() const = 0;
|
||||
virtual ~ExtrusionEntity() {};
|
||||
virtual void reverse() = 0;
|
||||
|
@ -92,6 +95,9 @@ class ExtrusionLoop : public ExtrusionEntity
|
|||
bool is_loop() const {
|
||||
return true;
|
||||
};
|
||||
bool can_reverse() const {
|
||||
return false;
|
||||
};
|
||||
ExtrusionLoop* clone() const;
|
||||
bool make_clockwise();
|
||||
bool make_counter_clockwise();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue