mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
Rename variable
Even if we could reuse the other, it make sense to call it 'deviation' Contributes to CURA-6458.
This commit is contained in:
parent
3b184a5a9a
commit
eb3e343be5
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue