Fixed invalidation when first_layer_height is changed

This commit is contained in:
Lukas Matena 2021-08-25 12:01:41 +02:00
parent 369f325f4e
commit 3fc4cc84a7
2 changed files with 2 additions and 2 deletions

View File

@ -159,7 +159,8 @@ bool Print::invalidate_state_by_config_options(const ConfigOptionResolver & /* n
|| opt_key == "wipe_tower_rotation_angle") { || opt_key == "wipe_tower_rotation_angle") {
steps.emplace_back(psSkirtBrim); steps.emplace_back(psSkirtBrim);
} else if ( } else if (
opt_key == "nozzle_diameter" opt_key == "first_layer_height"
|| opt_key == "nozzle_diameter"
|| opt_key == "resolution" || opt_key == "resolution"
// Spiral Vase forces different kind of slicing than the normal model: // Spiral Vase forces different kind of slicing than the normal model:
// In Spiral Vase mode, holes are closed and only the largest area contour is kept at each layer. // In Spiral Vase mode, holes are closed and only the largest area contour is kept at each layer.

View File

@ -535,7 +535,6 @@ bool PrintObject::invalidate_state_by_config_options(
steps.emplace_back(posPerimeters); steps.emplace_back(posPerimeters);
} else if ( } else if (
opt_key == "layer_height" opt_key == "layer_height"
|| opt_key == "first_layer_height"
|| opt_key == "mmu_segmented_region_max_width" || opt_key == "mmu_segmented_region_max_width"
|| opt_key == "raft_layers" || opt_key == "raft_layers"
|| opt_key == "raft_contact_distance" || opt_key == "raft_contact_distance"