mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-16 15:55:52 +08:00
Correctly clear PP ironings list when reslicing
supermerill/SuperSlicer#1207
This commit is contained in:
parent
653c8bdf95
commit
3474008331
@ -377,8 +377,10 @@ void export_group_fills_to_svg(const char *path, const std::vector<SurfaceFill>
|
||||
// friend to Layer
|
||||
void Layer::make_fills(FillAdaptive::Octree* adaptive_fill_octree, FillAdaptive::Octree* support_fill_octree)
|
||||
{
|
||||
for (LayerRegion *layerm : m_regions)
|
||||
for (LayerRegion* layerm : m_regions) {
|
||||
layerm->fills.clear();
|
||||
layerm->ironings.clear();
|
||||
}
|
||||
|
||||
|
||||
#ifdef SLIC3R_DEBUG_SLICE_PROCESSING
|
||||
|
@ -127,6 +127,7 @@ void Layer::make_perimeters()
|
||||
if ((*layerm)->slices().empty()) {
|
||||
(*layerm)->perimeters.clear();
|
||||
(*layerm)->fills.clear();
|
||||
(*layerm)->ironings.clear();
|
||||
(*layerm)->thin_fills.clear();
|
||||
} else {
|
||||
size_t region_id = layerm - m_regions.begin();
|
||||
|
@ -86,7 +86,7 @@ public:
|
||||
void export_region_fill_surfaces_to_svg_debug(const char *name) const;
|
||||
|
||||
// Is there any valid extrusion assigned to this LayerRegion?
|
||||
bool has_extrusions() const { return !this->perimeters.entities.empty() || !this->fills.entities.empty() || !this->ironings.entities.empty(); }
|
||||
bool has_extrusions() const { return !this->perimeters.entities.empty() || !this->fills.entities.empty() || !this->ironings.entities.empty() || !this->thin_fills.entities.empty(); }
|
||||
|
||||
protected:
|
||||
friend class Layer;
|
||||
|
Loading…
x
Reference in New Issue
Block a user