From 9b6b20070a8df32f3b16db14f2bdfa8f3a6c8170 Mon Sep 17 00:00:00 2001 From: YuSanka Date: Mon, 4 Mar 2024 14:36:40 +0100 Subject: [PATCH] Fix for SPE-2170 : Incorrectly imported settings/overrides from g-code file. Write to G-code whole filament overridden even if some of then are NAN. --- src/libslic3r/GCode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libslic3r/GCode.cpp b/src/libslic3r/GCode.cpp index a7dcf5a579..00f88ad769 100644 --- a/src/libslic3r/GCode.cpp +++ b/src/libslic3r/GCode.cpp @@ -2852,7 +2852,7 @@ void GCodeGenerator::encode_full_config(const Print& print, std::vectoris_nil()) + if (!is_banned(key)) config.emplace_back(key, cfg.opt_serialize(key)); } config.shrink_to_fit();