From 68496349a92aa3434b1e9946ee8a4a7054b450dc Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Fri, 18 Dec 2015 10:19:28 +0100 Subject: [PATCH] Fix import of top and bottom thickness The legacy settings had a boolean for these, but in the current version is should just be a float. Contributes to issue CURA-37. --- plugins/LegacyProfileReader/DictionaryOfDoom.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/LegacyProfileReader/DictionaryOfDoom.json b/plugins/LegacyProfileReader/DictionaryOfDoom.json index 96a05b4fe0..efbfcac7d4 100644 --- a/plugins/LegacyProfileReader/DictionaryOfDoom.json +++ b/plugins/LegacyProfileReader/DictionaryOfDoom.json @@ -8,8 +8,8 @@ "layer_height_0": "bottom_thickness", "shell_thickness": "wall_thickness", "top_bottom_thickness": "solid_layer_thickness", - "top_thickness": "solid_top", - "bottom_thickness": "solid_bottom", + "top_thickness": "0 if (solid_top == \"False\") else solid_layer_thickness", + "bottom_thickness": "0 if (solid_bottom == \"False\") else solid_layer_thickness", "skin_no_small_gaps_heuristic": "fix_horrible_extensive_stitching", "infill_sparse_density": "fill_density", "infill_overlap": "fill_overlap",