mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-10 10:18:59 +08:00
Store extruder position under 'position' instead of 'extruder'
Otherwise it thinks it is still an extruder ID. Contributes to issue CURA-5054.
This commit is contained in:
parent
71afbba789
commit
e18b1cde55
@ -87,7 +87,8 @@ class VersionUpgrade32to33(VersionUpgrade):
|
||||
else:
|
||||
extruder_position = 0 #The user was using custom extruder definitions. He's on his own then.
|
||||
|
||||
parser["metadata"]["extruder"] = str(extruder_position)
|
||||
parser["metadata"]["position"] = str(extruder_position)
|
||||
del parser["metadata"]["extruder"]
|
||||
|
||||
#Update version number.
|
||||
parser["general"]["version"] = "3"
|
||||
|
Loading…
x
Reference in New Issue
Block a user