mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 15:29:02 +08:00
Rectified wrong placement of brackets causing logic change. [CURA-5864]
This commit is contained in:
parent
68cec2679c
commit
f1b6e527be
@ -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")))])
|
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.
|
# The platform adhesion extruder. Not used if using none.
|
||||||
if (global_stack.getProperty("adhesion_type", "value") != "none" or
|
if global_stack.getProperty("adhesion_type", "value") != "none" or (
|
||||||
global_stack.getProperty("prime_tower_brim_enable", "value") and
|
global_stack.getProperty("prime_tower_brim_enable", "value") and
|
||||||
global_stack.getProperty("adhesion_type", "value") != 'raft'):
|
global_stack.getProperty("adhesion_type", "value") != 'raft'):
|
||||||
extruder_str_nr = str(global_stack.getProperty("adhesion_extruder_nr", "value"))
|
extruder_str_nr = str(global_stack.getProperty("adhesion_extruder_nr", "value"))
|
||||||
if extruder_str_nr == "-1":
|
if extruder_str_nr == "-1":
|
||||||
extruder_str_nr = self._application.getMachineManager().defaultExtruderPosition
|
extruder_str_nr = self._application.getMachineManager().defaultExtruderPosition
|
||||||
|
Loading…
x
Reference in New Issue
Block a user