diff options
author | Kostas Karmas <konskarm@gmail.com> | 2020-05-04 14:22:22 +0300 |
---|---|---|
committer | Kostas Karmas <konskarm@gmail.com> | 2020-05-04 14:22:22 +0300 |
commit | 69f23eca9409e65435dbb01e76f8d68d092b490e (patch) | |
tree | 21c8775cdcf347ea6a1ca5a133cc9b11cbfb7af4 /plugins/VersionUpgrade | |
parent | f25547d3944195897e4542413976b5122e6f6793 (diff) |
Double the maximum deviation again in the versionUpgrade460to462
CURA-7421
Diffstat (limited to 'plugins/VersionUpgrade')
-rw-r--r-- | plugins/VersionUpgrade/VersionUpgrade460to462/VersionUpgrade460to462.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/VersionUpgrade/VersionUpgrade460to462/VersionUpgrade460to462.py b/plugins/VersionUpgrade/VersionUpgrade460to462/VersionUpgrade460to462.py index 86e49542e4..63333edde4 100644 --- a/plugins/VersionUpgrade/VersionUpgrade460to462/VersionUpgrade460to462.py +++ b/plugins/VersionUpgrade/VersionUpgrade460to462/VersionUpgrade460to462.py @@ -53,12 +53,13 @@ class VersionUpgrade460to462(VersionUpgrade): # Maximum Deviation's effect was corrected. Previously the deviation # ended up being only half of what the user had entered. This was # fixed in Cura 4.7 so there we need to halve the deviation that the - # user had entered. + # user had entered. This halving was accidentally merged into 4.6 and had to be reverted + # back in 4.6.2. if "meshfix_maximum_deviation" in parser["values"]: maximum_deviation = parser["values"]["meshfix_maximum_deviation"] if maximum_deviation.startswith("="): maximum_deviation = maximum_deviation[1:] - maximum_deviation = "=(" + maximum_deviation + ") / 2" + maximum_deviation = "=(" + maximum_deviation + ") * 2" parser["values"]["meshfix_maximum_deviation"] = maximum_deviation result = io.StringIO() |