Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Prado Gesto <d.pradogesto@ultimaker.com>2019-04-16 13:04:34 +0300
committerDiego Prado Gesto <d.pradogesto@ultimaker.com>2019-04-16 13:04:34 +0300
commiteb3e343be5dd6f7b2a53a88edaf36ad75ab798ac (patch)
tree9c639af85f999ec499a78aab3864bef20b879223 /plugins/VersionUpgrade/VersionUpgrade40to41
parent3b184a5a9a05969eb8368aa498ddbb8d9c4c2c01 (diff)
Rename variable
Even if we could reuse the other, it make sense to call it 'deviation' Contributes to CURA-6458.
Diffstat (limited to 'plugins/VersionUpgrade/VersionUpgrade40to41')
-rw-r--r--plugins/VersionUpgrade/VersionUpgrade40to41/VersionUpgrade40to41.py4
1 files changed, 2 insertions, 2 deletions
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()