Create 'brim for prime tower only' option (see also backend PR). [CURA-5864]

This commit is contained in:
Remco Burema 2018-12-21 17:38:30 +01:00
parent 481438d419
commit f62e8b4bb2
4 changed files with 24 additions and 3 deletions

View file

@ -264,7 +264,8 @@ class ExtruderManager(QObject):
used_extruder_stack_ids.add(self.extruderIds[self.extruderValueWithDefault(str(global_stack.getProperty("support_roof_extruder_nr", "value")))])
# The platform adhesion extruder. Not used if using none.
if global_stack.getProperty("adhesion_type", "value") != "none":
if (global_stack.getProperty("adhesion_type", "value") != "none" or
global_stack.getProperty("prime_tower_brim_enable", "value")):
extruder_str_nr = str(global_stack.getProperty("adhesion_extruder_nr", "value"))
if extruder_str_nr == "-1":
extruder_str_nr = self._application.getMachineManager().defaultExtruderPosition