mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 01:07:52 -06: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
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue