mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-17 03:37:48 -06:00
Remove support_tree_wall_thickness
This setting will not be automatically translated to support_wall_thickness if it's overwritten, because that would require knowing the line width and we don't know that here. So it's hard to do. Contributes to issue CURA-7077.
This commit is contained in:
parent
50f64ca696
commit
a3c5435a1d
2 changed files with 8 additions and 15 deletions
|
@ -11,6 +11,10 @@ _merged_settings = {
|
|||
"support_wall_count": "support_tree_wall_count"
|
||||
}
|
||||
|
||||
_removed_settings = {
|
||||
"support_tree_wall_thickness"
|
||||
}
|
||||
|
||||
class VersionUpgrade44to45(VersionUpgrade):
|
||||
def getCfgVersion(self, serialised: str) -> int:
|
||||
parser = configparser.ConfigParser(interpolation = None)
|
||||
|
@ -55,6 +59,10 @@ class VersionUpgrade44to45(VersionUpgrade):
|
|||
parser["values"][preferred] = parser["values"][removed]
|
||||
del parser["values"][removed]
|
||||
|
||||
for removed in _removed_settings:
|
||||
if removed in parser["values"]:
|
||||
del parser["values"][removed]
|
||||
|
||||
result = io.StringIO()
|
||||
parser.write(result)
|
||||
return [filename], [result.getvalue()]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue