diff --git a/plugins/VersionUpgrade/VersionUpgrade40to41/VersionUpgrade40to41.py b/plugins/VersionUpgrade/VersionUpgrade40to41/VersionUpgrade40to41.py index f79ec66e5a..db7d3c75da 100644 --- a/plugins/VersionUpgrade/VersionUpgrade40to41/VersionUpgrade40to41.py +++ b/plugins/VersionUpgrade/VersionUpgrade40to41/VersionUpgrade40to41.py @@ -54,8 +54,8 @@ class VersionUpgrade40to41(VersionUpgrade): resolution = parser["values"]["meshfix_maximum_resolution"] if resolution.startswith("="): resolution = resolution[1:] - resolution = "=(" + resolution + ") / 2" - parser["values"]["meshfix_maximum_deviation"] = resolution + deviation = "=(" + resolution + ") / 2" + parser["values"]["meshfix_maximum_deviation"] = deviation del parser["values"]["meshfix_maximum_resolution"] result = io.StringIO()