WIP: Allows regions of MMU segmentation to be trimmed by chosen width.

This commit is contained in:
Lukáš Hejl
2021-04-19 07:12:42 +02:00
parent f49ceb1e0f
commit 368b48b0a0
6 changed files with 32 additions and 1 deletions

View File

@@ -227,6 +227,8 @@ bool Print::invalidate_state_by_config_options(const ConfigOptionResolver & /* n
osteps.emplace_back(posSupportMaterial);
steps.emplace_back(psSkirt);
steps.emplace_back(psBrim);
} else if (opt_key == "mmu_segmented_region_max_width") {
invalidated |= this->invalidate_all_steps();
} else {
// for legacy, if we can't handle this option let's invalidate all steps
//FIXME invalidate all steps of all objects as well?