mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Adaptive layer height profile -> Added Adaptive button to imgui dialog
This commit is contained in:
parent
9d5da8b18c
commit
b77ba32bb2
5 changed files with 34 additions and 5 deletions
|
@ -1522,11 +1522,8 @@ bool PrintObject::update_layer_height_profile(const ModelObject &model_object, c
|
|||
layer_height_profile.clear();
|
||||
|
||||
if (layer_height_profile.empty()) {
|
||||
//#if ENABLE_ADAPTIVE_LAYER_HEIGHT_PROFILE
|
||||
// layer_height_profile = layer_height_profile_adaptive(slicing_parameters, model_object.layer_config_ranges, model_object.volumes);
|
||||
//#else
|
||||
//layer_height_profile = layer_height_profile_adaptive(slicing_parameters, model_object.layer_config_ranges, model_object.volumes);
|
||||
layer_height_profile = layer_height_profile_from_ranges(slicing_parameters, model_object.layer_config_ranges);
|
||||
//#endif // ENABLE_ADAPTIVE_LAYER_HEIGHT_PROFILE
|
||||
updated = true;
|
||||
}
|
||||
return updated;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue