From 0c524208b6c9980c3790059344d791cfccfa876e Mon Sep 17 00:00:00 2001 From: PavelMikus Date: Fri, 3 Mar 2023 09:57:58 +0100 Subject: [PATCH] Fix debug build, remove fragments after removal of BoundedRectilinear fill type --- src/libslic3r/Fill/Fill.cpp | 6 +++--- src/libslic3r/Fill/FillEnsuring.cpp | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/libslic3r/Fill/Fill.cpp b/src/libslic3r/Fill/Fill.cpp index 40650c509..02f613c15 100644 --- a/src/libslic3r/Fill/Fill.cpp +++ b/src/libslic3r/Fill/Fill.cpp @@ -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(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(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 diff --git a/src/libslic3r/Fill/FillEnsuring.cpp b/src/libslic3r/Fill/FillEnsuring.cpp index 0dab6d744..2522aee93 100644 --- a/src/libslic3r/Fill/FillEnsuring.cpp +++ b/src/libslic3r/Fill/FillEnsuring.cpp @@ -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 loops = wall_tool_paths.getToolPaths(); !loops.empty()) { - assert(!is_bounded_rectilinear || loops.size() == 1); std::vector all_extrusions; for (Arachne::VariableWidthLines &loop : loops) { if (loop.empty())