mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-20 13:17:54 -06:00
Fix of infill type update with vase mode enabled after change
of the number of bottom layers. related to [2.2.1-RC] Vase mode prints base no matter what #3823
This commit is contained in:
parent
bd1a128ef8
commit
7f376fa927
4 changed files with 14 additions and 9 deletions
|
@ -34,6 +34,10 @@ public:
|
|||
void remove_type(const SurfaceType type);
|
||||
void remove_types(const SurfaceType *types, int ntypes);
|
||||
void filter_by_type(SurfaceType type, Polygons* polygons);
|
||||
void set_type(SurfaceType type) {
|
||||
for (Surface &surface : this->surfaces)
|
||||
surface.surface_type = type;
|
||||
}
|
||||
|
||||
void clear() { surfaces.clear(); }
|
||||
bool empty() const { return surfaces.empty(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue