mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-22 04:35:17 +00:00
FIX: fix an adapative layer height not work issue
Signed-off-by: yifan.wu <yifan.wu@bambulab.com>
This commit is contained in:
@@ -3592,8 +3592,11 @@ void DynamicPrintConfig::normalize_fdm(int used_filaments)
|
||||
ConfigOptionEnum<PrintSequence>* ps_opt = this->option<ConfigOptionEnum<PrintSequence>>("print_sequence");
|
||||
|
||||
ConfigOptionEnum<TimelapseType>* timelapse_opt = this->option<ConfigOptionEnum<TimelapseType>>("timelapse_type");
|
||||
if (timelapse_opt && timelapse_opt->value == TimelapseType::tlSmooth) {
|
||||
if (used_filaments == 1 || ps_opt->value == PrintSequence::ByObject)
|
||||
bool is_smooth_timelapse = timelapse_opt != nullptr && timelapse_opt->value == TimelapseType::tlSmooth;
|
||||
if (is_smooth_timelapse) {
|
||||
ept_opt->value = true;
|
||||
}
|
||||
else if (used_filaments == 1 || ps_opt->value == PrintSequence::ByObject) {
|
||||
ept_opt->value = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user