Skip to content

Commit d54cbeb

Browse files
committed
Updated infill combination to consider only internal infills
1 parent 68936fb commit d54cbeb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/libslic3r/PrintObject.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3108,8 +3108,7 @@ void PrintObject::combine_infill()
31083108

31093109
// Limit the number of combined layers to the maximum height allowed by this regions' nozzle.
31103110
//FIXME limit the layer height to max_layer_height
3111-
const double nozzle_diameter = std::min(this->print()->config().nozzle_diameter.get_at(region.config().infill_extruder.value - 1),
3112-
this->print()->config().nozzle_diameter.get_at(region.config().solid_infill_extruder.value - 1));
3111+
const double nozzle_diameter = this->print()->config().nozzle_diameter.get_at(region.config().infill_extruder.value - 1);
31133112

31143113
const double automatic_infill_combination_max_layer_height = region.config().automatic_infill_combination_max_layer_height.get_abs_value(nozzle_diameter);
31153114
const double max_combine_layer_height = automatic_infill_combination ? std::min(automatic_infill_combination_max_layer_height, nozzle_diameter) : nozzle_diameter;

0 commit comments

Comments
 (0)