mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
Fix of Enforce support for first N layers has no effect #470
This commit is contained in:
@@ -88,7 +88,7 @@ SlicingParameters SlicingParameters::create_from_config(
|
||||
// Miniumum/maximum of the minimum layer height over all extruders.
|
||||
params.min_layer_height = MIN_LAYER_HEIGHT;
|
||||
params.max_layer_height = std::numeric_limits<double>::max();
|
||||
if (object_config.support_material.value || params.base_raft_layers > 0) {
|
||||
if (object_config.support_material.value || params.base_raft_layers > 0 || object_config.support_material_enforce_layers > 0) {
|
||||
// Has some form of support. Add the support layers to the minimum / maximum layer height limits.
|
||||
params.min_layer_height = std::max(
|
||||
min_layer_height_from_nozzle(print_config, object_config.support_material_extruder),
|
||||
|
||||
Reference in New Issue
Block a user