mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-13 03:09:11 +08:00
revisit SupportSpotSearch step invalidation and fix issues
This commit is contained in:
parent
ee5f4f8573
commit
88d1718a5a
@ -1201,7 +1201,6 @@ Print::ApplyStatus Print::apply(const Model &model, DynamicPrintConfig new_full_
|
|||||||
}
|
}
|
||||||
// Invalidate just the supports step.
|
// Invalidate just the supports step.
|
||||||
for (const PrintObjectStatus &print_object_status : print_objects_range) {
|
for (const PrintObjectStatus &print_object_status : print_objects_range) {
|
||||||
update_apply_status(print_object_status.print_object->invalidate_step(posSupportSpotsSearch));
|
|
||||||
update_apply_status(print_object_status.print_object->invalidate_step(posSupportMaterial));
|
update_apply_status(print_object_status.print_object->invalidate_step(posSupportMaterial));
|
||||||
}
|
}
|
||||||
if (supports_differ) {
|
if (supports_differ) {
|
||||||
|
@ -789,10 +789,10 @@ bool PrintObject::invalidate_step(PrintObjectStep step)
|
|||||||
|
|
||||||
// propagate to dependent steps
|
// propagate to dependent steps
|
||||||
if (step == posPerimeters) {
|
if (step == posPerimeters) {
|
||||||
invalidated |= this->invalidate_steps({ posPrepareInfill, posInfill, posIroning, posEstimateCurledExtrusions });
|
invalidated |= this->invalidate_steps({ posPrepareInfill, posInfill, posIroning, posSupportSpotsSearch, posEstimateCurledExtrusions });
|
||||||
invalidated |= m_print->invalidate_steps({ psSkirtBrim });
|
invalidated |= m_print->invalidate_steps({ psSkirtBrim });
|
||||||
} else if (step == posPrepareInfill) {
|
} else if (step == posPrepareInfill) {
|
||||||
invalidated |= this->invalidate_steps({ posInfill, posIroning });
|
invalidated |= this->invalidate_steps({ posInfill, posIroning, posSupportSpotsSearch });
|
||||||
} else if (step == posInfill) {
|
} else if (step == posInfill) {
|
||||||
invalidated |= this->invalidate_steps({ posIroning, posSupportSpotsSearch });
|
invalidated |= this->invalidate_steps({ posIroning, posSupportSpotsSearch });
|
||||||
invalidated |= m_print->invalidate_steps({ psSkirtBrim });
|
invalidated |= m_print->invalidate_steps({ psSkirtBrim });
|
||||||
|
Loading…
x
Reference in New Issue
Block a user