From 109631d02340d5da17c0e5fcd17ae26488728189 Mon Sep 17 00:00:00 2001 From: Lipu Fei Date: Thu, 28 Mar 2019 15:13:41 +0100 Subject: [PATCH] Update doc for updateHasMaterialsMetadata() --- cura/UI/MachineSettingsManager.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cura/UI/MachineSettingsManager.py b/cura/UI/MachineSettingsManager.py index 8c411f2537..7ecd9ed65f 100644 --- a/cura/UI/MachineSettingsManager.py +++ b/cura/UI/MachineSettingsManager.py @@ -42,9 +42,12 @@ class MachineSettingsManager(QObject): # it was moved to the machine manager instead. Now this method just calls the machine manager. self._application.getMachineManager().setActiveMachineExtruderCount(extruder_count) - # FIXME(Lipu): Better document what this function does, especially the fuzzy gcode flavor and has_materials logic - # regarding UM2 and UM2+ # Function for the Machine Settings panel (QML) to update after the usre changes "Number of Extruders". + # + # fieldOfView: The Ultimaker 2 family (not 2+) does not have materials in Cura by default, because the material is + # to be set on the printer. But when switching to Marlin flavor, the printer firmware can not change/insert material + # settings on the fly so they need to be configured in Cura. So when switching between gcode flavors, materials may + # need to be enabled/disabled. @pyqtSlot() def updateHasMaterialsMetadata(self): machine_manager = self._application.getMachineManager()