Fix debug build, remove fragments after removal of BoundedRectilinear fill type
This commit is contained in:
parent
4bb32f3b67
commit
0c524208b6
2 changed files with 3 additions and 4 deletions
|
@ -514,9 +514,9 @@ void Layer::make_fills(FillAdaptive::Octree* adaptive_fill_octree, FillAdaptive:
|
||||||
}
|
}
|
||||||
|
|
||||||
if (surface_fill.params.pattern == ipEnsuring) {
|
if (surface_fill.params.pattern == ipEnsuring) {
|
||||||
auto *fill_bounded_rectilinear = dynamic_cast<FillEnsuring *>(f.get());
|
auto *fill_ensuring = dynamic_cast<FillEnsuring *>(f.get());
|
||||||
assert(fill_bounded_rectilinear != nullptr);
|
assert(fill_ensuring != nullptr);
|
||||||
fill_bounded_rectilinear->print_region_config = &m_regions[surface_fill.region_id]->region().config();
|
fill_ensuring->print_region_config = &m_regions[surface_fill.region_id]->region().config();
|
||||||
}
|
}
|
||||||
|
|
||||||
// calculate flow spacing for infill pattern generation
|
// calculate flow spacing for infill pattern generation
|
||||||
|
|
|
@ -25,7 +25,6 @@ ThickPolylines FillEnsuring::fill_surface_arachne(const Surface *surface, const
|
||||||
Polygons polygons = to_polygons(ex_poly);
|
Polygons polygons = to_polygons(ex_poly);
|
||||||
Arachne::WallToolPaths wall_tool_paths(polygons, scaled_spacing, scaled_spacing, loops_count, 0, params.layer_height, *this->print_object_config, *this->print_config);
|
Arachne::WallToolPaths wall_tool_paths(polygons, scaled_spacing, scaled_spacing, loops_count, 0, params.layer_height, *this->print_object_config, *this->print_config);
|
||||||
if (std::vector<Arachne::VariableWidthLines> loops = wall_tool_paths.getToolPaths(); !loops.empty()) {
|
if (std::vector<Arachne::VariableWidthLines> loops = wall_tool_paths.getToolPaths(); !loops.empty()) {
|
||||||
assert(!is_bounded_rectilinear || loops.size() == 1);
|
|
||||||
std::vector<const Arachne::ExtrusionLine *> all_extrusions;
|
std::vector<const Arachne::ExtrusionLine *> all_extrusions;
|
||||||
for (Arachne::VariableWidthLines &loop : loops) {
|
for (Arachne::VariableWidthLines &loop : loops) {
|
||||||
if (loop.empty())
|
if (loop.empty())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue