mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 11:17:51 -06:00
Fix of Enforce support for first N layers has no effect #470
This commit is contained in:
parent
055d2321e7
commit
d2c46025c7
9 changed files with 18 additions and 20 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue