mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-07 03:39:06 +08:00
CURA-4946 Fixed typo
This commit is contained in:
parent
73517cd176
commit
6d2d9c8fe2
@ -273,11 +273,11 @@ class CuraContainerRegistry(ContainerRegistry):
|
|||||||
elif profile_index < len(machine_extruders) + 1:
|
elif profile_index < len(machine_extruders) + 1:
|
||||||
# This is assumed to be an extruder profile
|
# This is assumed to be an extruder profile
|
||||||
extruder_id = machine_extruders[profile_index - 1].definition.getId()
|
extruder_id = machine_extruders[profile_index - 1].definition.getId()
|
||||||
extuder_position = str(profile_index - 1)
|
extruder_position = str(profile_index - 1)
|
||||||
if not profile.getMetaDataEntry("position"):
|
if not profile.getMetaDataEntry("position"):
|
||||||
profile.addMetaDataEntry("position", extuder_position)
|
profile.addMetaDataEntry("position", extruder_position)
|
||||||
else:
|
else:
|
||||||
profile.setMetaDataEntry("position", extuder_position)
|
profile.setMetaDataEntry("position", extruder_position)
|
||||||
profile_id = (extruder_id + "_" + name_seed).lower().replace(" ", "_")
|
profile_id = (extruder_id + "_" + name_seed).lower().replace(" ", "_")
|
||||||
|
|
||||||
else: #More extruders in the imported file than in the machine.
|
else: #More extruders in the imported file than in the machine.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user