From 2a7ee65e8ba420c77cc8cfacbef26932fbcab714 Mon Sep 17 00:00:00 2001 From: "zhou.xu" Date: Thu, 11 Jul 2024 15:57:15 +0800 Subject: [PATCH] FIX:read "bed_custom_texture" for non-system printer jira: none Change-Id: Ibc5e3ee88ca1b8e46e2f110d16629045f37d722f --- src/slic3r/GUI/Plater.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index 17f4499cf..122e58391 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -12522,10 +12522,8 @@ void Plater::set_bed_shape() const } } else { - auto *printer_model = curr->config.opt("printer_model"); - if (printer_model != nullptr && ! printer_model->value.empty()) { - texture_filename = bundle->get_texture_for_printer_model(printer_model->value); - } + auto *bed_custom_texture = curr->config.opt("bed_custom_texture"); + texture_filename = bed_custom_texture->value; } } set_bed_shape(p->config->option("printable_area")->values,