Fix debug build, remove fragments after removal of BoundedRectilinear fill type
This commit is contained in:
parent
4bb32f3b67
commit
0c524208b6
@ -514,9 +514,9 @@ void Layer::make_fills(FillAdaptive::Octree* adaptive_fill_octree, FillAdaptive:
|
||||
}
|
||||
|
||||
if (surface_fill.params.pattern == ipEnsuring) {
|
||||
auto *fill_bounded_rectilinear = dynamic_cast<FillEnsuring *>(f.get());
|
||||
assert(fill_bounded_rectilinear != nullptr);
|
||||
fill_bounded_rectilinear->print_region_config = &m_regions[surface_fill.region_id]->region().config();
|
||||
auto *fill_ensuring = dynamic_cast<FillEnsuring *>(f.get());
|
||||
assert(fill_ensuring != nullptr);
|
||||
fill_ensuring->print_region_config = &m_regions[surface_fill.region_id]->region().config();
|
||||
}
|
||||
|
||||
// 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);
|
||||
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()) {
|
||||
assert(!is_bounded_rectilinear || loops.size() == 1);
|
||||
std::vector<const Arachne::ExtrusionLine *> all_extrusions;
|
||||
for (Arachne::VariableWidthLines &loop : loops) {
|
||||
if (loop.empty())
|
||||
|
Loading…
Reference in New Issue
Block a user