Browse Source

Rectified wrong placement of brackets causing logic change. [CURA-5864]

Remco Burema 6 years ago
parent
commit
f1b6e527be
1 changed files with 3 additions and 3 deletions
  1. 3 3
      cura/Settings/ExtruderManager.py

+ 3 - 3
cura/Settings/ExtruderManager.py

@@ -264,9 +264,9 @@ 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" or
-            global_stack.getProperty("prime_tower_brim_enable", "value") and
-            global_stack.getProperty("adhesion_type", "value") != 'raft'):
+        if global_stack.getProperty("adhesion_type", "value") != "none" or (
+                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