make skirt_brim_extruder_nr an optional_extruder to allow for the brim_per_material feature

This commit is contained in:
Tim Kuipers 2022-02-11 12:20:05 +01:00
parent a35a38c684
commit 2698cd76c5
3 changed files with 36 additions and 20 deletions

View file

@ -275,7 +275,7 @@ class ExtruderManager(QObject):
for extruder_setting in used_adhesion_extruders:
extruder_str_nr = str(global_stack.getProperty(extruder_setting, "value"))
if extruder_str_nr == "-1":
extruder_str_nr = self._application.getMachineManager().defaultExtruderPosition
continue # An optional extruder doesn't force any extruder to be used if it isn't used already
if extruder_str_nr in self.extruderIds:
used_extruder_stack_ids.add(self.extruderIds[extruder_str_nr])