mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Remove reference to JIRA ticket in comments
CURA-7646
This commit is contained in:
parent
b9d5f0dc15
commit
61cc8c9a95
2 changed files with 2 additions and 2 deletions
|
@ -68,7 +68,7 @@ class CuraStackBuilder:
|
||||||
|
|
||||||
# If given, set the machine_extruder_count when creating the machine, or else the extruderList used bellow will
|
# If given, set the machine_extruder_count when creating the machine, or else the extruderList used bellow will
|
||||||
# not return the correct extruder list (since by default, the machine_extruder_count is 1) in machines with
|
# not return the correct extruder list (since by default, the machine_extruder_count is 1) in machines with
|
||||||
# settable number of extruders. See CURA-7646.
|
# settable number of extruders.
|
||||||
if machine_extruder_count and 0 <= machine_extruder_count <= len(extruder_dict):
|
if machine_extruder_count and 0 <= machine_extruder_count <= len(extruder_dict):
|
||||||
new_global_stack.setProperty("machine_extruder_count", "value", machine_extruder_count)
|
new_global_stack.setProperty("machine_extruder_count", "value", machine_extruder_count)
|
||||||
|
|
||||||
|
|
|
@ -666,7 +666,7 @@ class ThreeMFWorkspaceReader(WorkspaceReader):
|
||||||
# Printers with modifiable number of extruders (such as CFFF) will specify a machine_extruder_count in their
|
# Printers with modifiable number of extruders (such as CFFF) will specify a machine_extruder_count in their
|
||||||
# quality_changes file. If that's the case, take the extruder count into account when creating the machine
|
# quality_changes file. If that's the case, take the extruder count into account when creating the machine
|
||||||
# or else the extruderList will return only the first extruder, leading to missing non-global settings in
|
# or else the extruderList will return only the first extruder, leading to missing non-global settings in
|
||||||
# the other extruders. See CURA-7646
|
# the other extruders.
|
||||||
machine_extruder_count = self._getMachineExtruderCount() # type: Optional[int]
|
machine_extruder_count = self._getMachineExtruderCount() # type: Optional[int]
|
||||||
global_stack = CuraStackBuilder.createMachine(machine_name, self._machine_info.definition_id, machine_extruder_count)
|
global_stack = CuraStackBuilder.createMachine(machine_name, self._machine_info.definition_id, machine_extruder_count)
|
||||||
if global_stack: # Only switch if creating the machine was successful.
|
if global_stack: # Only switch if creating the machine was successful.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue