From 07453e101e2dbd6f79ea2e257b3c9e72c7cdc27b Mon Sep 17 00:00:00 2001 From: Kostas Karmas Date: Mon, 9 Nov 2020 16:32:05 +0100 Subject: [PATCH] Add detailed documentation for _correctPrintSequence function CURA-7827 --- cura/Settings/MachineManager.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/cura/Settings/MachineManager.py b/cura/Settings/MachineManager.py index 401c4152e6..a9ee9e5096 100755 --- a/cura/Settings/MachineManager.py +++ b/cura/Settings/MachineManager.py @@ -859,7 +859,13 @@ class MachineManager(QObject): caution_message.show() def _correctPrintSequence(self) -> None: - """Resets the Print Sequence setting when there are more than one enabled extruders.""" + """ + Sets the Print Sequence setting to "all-at-once" when there are more than one enabled extruders. + + This setting has to be explicitly changed whenever we have more than one enabled extruders to make sure that the + Cura UI is properly updated to reset all the UI elements changes that occur due to the one-at-a-time mode (such + as the reduced build volume, the different convex hulls of the objects etc.). + """ setting_key = "print_sequence" new_value = "all_at_once"