Explicitly also check for Raft when checking for prime-tower=brim. [CURA-5864]

This commit is contained in:
Remco Burema 2019-02-13 14:09:37 +01:00
parent ad8c269012
commit a601e0878c
4 changed files with 12 additions and 6 deletions

View file

@ -265,7 +265,8 @@ class ExtruderManager(QObject):
# The platform adhesion extruder. Not used if using none.
if (global_stack.getProperty("adhesion_type", "value") != "none" or
global_stack.getProperty("prime_tower_brim_enable", "value")):
global_stack.getProperty("prime_tower_brim_enable", "value") and
global_stack.getProperty("adhesion_type", "value") != 'raft'):
extruder_str_nr = str(global_stack.getProperty("adhesion_extruder_nr", "value"))
if extruder_str_nr == "-1":
extruder_str_nr = self._application.getMachineManager().defaultExtruderPosition