mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 19:13:16 +08:00
Fix upgrade 40 to 41
This commit is contained in:
parent
083564a184
commit
50e4519298
@ -52,7 +52,7 @@ class VersionUpgrade40to41(VersionUpgrade):
|
|||||||
parser["metadata"]["setting_version"] = "7"
|
parser["metadata"]["setting_version"] = "7"
|
||||||
|
|
||||||
# Limit Maximum Deviation instead of Maximum Resolution. This should have approximately the same effect as before the algorithm change, only more consistent.
|
# Limit Maximum Deviation instead of Maximum Resolution. This should have approximately the same effect as before the algorithm change, only more consistent.
|
||||||
if "meshfix_maximum_resolution" in parser["values"]:
|
if "values" in parser and "meshfix_maximum_resolution" in parser["values"]:
|
||||||
resolution = parser["values"]["meshfix_maximum_resolution"]
|
resolution = parser["values"]["meshfix_maximum_resolution"]
|
||||||
if resolution.startswith("="):
|
if resolution.startswith("="):
|
||||||
resolution = resolution[1:]
|
resolution = resolution[1:]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user