From 84613d99c46380b0f12efc33d8d07fabbf7bb1ac Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Fri, 18 Dec 2015 10:07:34 +0100 Subject: [PATCH] Fix import of platform_adhesion This setting should never be set to None. Contributes to issue CURA-37. --- plugins/LegacyProfileReader/DictionaryOfDoom.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/LegacyProfileReader/DictionaryOfDoom.json b/plugins/LegacyProfileReader/DictionaryOfDoom.json index e222486750..96a05b4fe0 100644 --- a/plugins/LegacyProfileReader/DictionaryOfDoom.json +++ b/plugins/LegacyProfileReader/DictionaryOfDoom.json @@ -45,7 +45,7 @@ "support_z_distance": "support_z_distance", "support_pattern": "support_type.lower()", "support_infill_rate": "support_fill_rate", - "platform_adhesion": "platform_adhesion.lower()", + "adhesion_type": "\"skirt\" if (platform_adhesion == \"None\") else platform_adhesion.lower()", "skirt_line_count": "skirt_line_count", "skirt_gap": "skirt_gap", "skirt_minimal_length": "skirt_minimal_length",