mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
ENABLE_ADAPTIVE_LAYER_HEIGHT_PROFILE -> Small refactoring
This commit is contained in:
parent
67b8506800
commit
643b26a0f3
3 changed files with 10 additions and 10 deletions
|
@ -267,7 +267,7 @@ std::vector<coordf_t> layer_height_profile_adaptive(
|
|||
int current_facet = 0;
|
||||
#if ENABLE_ADAPTIVE_LAYER_HEIGHT_PROFILE
|
||||
while (slice_z <= slicing_params.object_print_z_height()) {
|
||||
double height = 999.0;
|
||||
double height = slicing_params.max_layer_height;
|
||||
#else
|
||||
double height = slicing_params.first_object_layer_height;
|
||||
while ((slice_z - height) <= slicing_params.object_print_z_height()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue