Fix issue that is_infill_first doesn't work correctly on regions (#8126)

Fix issue that `is_infill_first` doesn't work correctly on regions (SoftFever/OrcaSlicer#8111)
This commit is contained in:
Noisyfox 2025-01-22 10:04:03 +08:00 committed by GitHub
parent 68997f260f
commit 74cf736903
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 15 additions and 27 deletions

View file

@ -445,7 +445,7 @@ private:
// For sequential print, the instance of the object to be printing has to be defined.
const size_t single_object_instance_idx);
std::string extrude_perimeters(const Print& print, const std::vector<ObjectByExtruder::Island::Region>& by_region);
std::string extrude_perimeters(const Print& print, const std::vector<ObjectByExtruder::Island::Region>& by_region, bool is_first_layer, bool is_infill_first);
std::string extrude_infill(const Print& print, const std::vector<ObjectByExtruder::Island::Region>& by_region, bool ironing);
std::string extrude_support(const ExtrusionEntityCollection& support_fills);