mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 06:04:01 -06:00
Fixed wrong refactoring of perimeter tree traversal. #1832
This commit is contained in:
parent
b71d28bd5a
commit
52de292a48
6 changed files with 31 additions and 11 deletions
|
@ -11,11 +11,11 @@ class ExtrusionEntityCollection : public ExtrusionEntity
|
|||
public:
|
||||
ExtrusionEntityCollection* clone() const;
|
||||
ExtrusionEntitiesPtr entities;
|
||||
std::vector<int> orig_indices;
|
||||
std::vector<size_t> orig_indices; // handy for XS
|
||||
bool no_sort;
|
||||
ExtrusionEntityCollection(): no_sort(false) {};
|
||||
ExtrusionEntityCollection* chained_path(bool no_reverse) const;
|
||||
ExtrusionEntityCollection* chained_path_from(Point* start_near, bool no_reverse) const;
|
||||
ExtrusionEntityCollection* chained_path(bool no_reverse, std::vector<size_t>* orig_indices = NULL) const;
|
||||
ExtrusionEntityCollection* chained_path_from(Point* start_near, bool no_reverse, std::vector<size_t>* orig_indices = NULL) const;
|
||||
void reverse();
|
||||
Point* first_point() const;
|
||||
Point* last_point() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue