From b1b7a5ad1bd7f07cf94da92c4efbe0dbd0b4a8bc Mon Sep 17 00:00:00 2001 From: Vojtech Bubnik Date: Thu, 22 Oct 2020 17:36:51 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20of=20ironing=20invalidation.=20Fixes=20Ir?= =?UTF-8?q?oning=20flag=20ignored=20on=20infill=20rotate=C2=A0#4937=20Iron?= =?UTF-8?q?ing=20does=20not=20take=20effect=20when=20you=20change=20Top=20?= =?UTF-8?q?Fill=20Pattern.=C2=A0#4900=20Ironing=20layer=20not=20shown=20in?= =?UTF-8?q?=20preview=20when=20settings=20are=20changed=C2=A0#4510?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/libslic3r/PrintObject.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libslic3r/PrintObject.cpp b/src/libslic3r/PrintObject.cpp index d2652bac5..0f52f74ed 100644 --- a/src/libslic3r/PrintObject.cpp +++ b/src/libslic3r/PrintObject.cpp @@ -650,14 +650,14 @@ bool PrintObject::invalidate_step(PrintObjectStep step) // propagate to dependent steps if (step == posPerimeters) { - invalidated |= this->invalidate_steps({ posPrepareInfill, posInfill }); + invalidated |= this->invalidate_steps({ posPrepareInfill, posInfill, posIroning }); invalidated |= m_print->invalidate_steps({ psSkirt, psBrim }); } else if (step == posPrepareInfill) { - invalidated |= this->invalidate_step(posInfill); + invalidated |= this->invalidate_step(posInfill, posIroning); } else if (step == posInfill) { invalidated |= m_print->invalidate_steps({ psSkirt, psBrim }); } else if (step == posSlice) { - invalidated |= this->invalidate_steps({ posPerimeters, posPrepareInfill, posInfill, posSupportMaterial }); + invalidated |= this->invalidate_steps({ posPerimeters, posPrepareInfill, posInfill, posIroning, posSupportMaterial }); invalidated |= m_print->invalidate_steps({ psSkirt, psBrim }); this->m_slicing_params.valid = false; } else if (step == posSupportMaterial) {