From c8fac7158aa2388da869fa5f5cae703297dc1ad2 Mon Sep 17 00:00:00 2001 From: "weiting.ji" Date: Tue, 16 Sep 2025 11:50:10 +0800 Subject: [PATCH] FIX: Some machine parameter won't update when opening custom presets Jira: None Change-Id: I70a76887ff91ba9196d370109cd1d5ccb2cad35e (cherry picked from commit 49956263076d18589178abac1f9b310d6e465b4d) --- src/libslic3r/Config.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libslic3r/Config.hpp b/src/libslic3r/Config.hpp index 40c0fc7c5f..13a70455bf 100644 --- a/src/libslic3r/Config.hpp +++ b/src/libslic3r/Config.hpp @@ -560,7 +560,7 @@ public: if (diff_index[i] != -1) { for (size_t j = 0; j < stride; j++) { - if (!other->is_nil(diff_index[i])) + if (!other->is_nil(diff_index[i] * stride)) this->values[i * stride +j] = other->values[diff_index[i] * stride +j]; } }