Follow-up to previous commit:

We also need to revert this part of 12f1cd0.
This commit is contained in:
Lukas Matena 2023-06-08 12:52:28 +02:00
parent f044a111f1
commit fd4ecb8db8

View File

@ -653,11 +653,8 @@ Polylines Layer::generate_sparse_infill_polylines_for_anchoring(FillAdaptive::Oc
f->print_config = &this->object()->print()->config(); f->print_config = &this->object()->print()->config();
f->print_object_config = &this->object()->config(); f->print_object_config = &this->object()->config();
if (surface_fill.params.pattern == ipLightning) { if (surface_fill.params.pattern == ipLightning)
auto *lf = dynamic_cast<FillLightning::Filler *>(f.get()); dynamic_cast<FillLightning::Filler *>(f.get())->generator = lightning_generator;
lf->generator = lightning_generator;
lf->num_raft_layers = this->object()->slicing_parameters().raft_layers();
}
// calculate flow spacing for infill pattern generation // calculate flow spacing for infill pattern generation
double link_max_length = 0.; double link_max_length = 0.;