From 612e1441f9559a367a66877d86c05bbccea02115 Mon Sep 17 00:00:00 2001 From: supermerill Date: Thu, 24 Mar 2022 13:29:09 +0100 Subject: correctly convert resolution to not-0 value when importing prusa config. supermerill/SuperSlicer#2568 --- src/libslic3r/PrintConfig.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/libslic3r/PrintConfig.cpp') diff --git a/src/libslic3r/PrintConfig.cpp b/src/libslic3r/PrintConfig.cpp index a78a2e239..18c913ae5 100644 --- a/src/libslic3r/PrintConfig.cpp +++ b/src/libslic3r/PrintConfig.cpp @@ -6912,6 +6912,12 @@ std::map PrintConfigDef::from_prusa(t_config_option_key value = "50%"; } } + if ("resolution" == opt_key) { + value = "0.0125"; + } + if ("gcode_resolution" == opt_key) { + output["min_length"] = value; + } return output; } -- cgit v1.2.3