From 343d2ea16d12f78460b00f8a150ca5c00015d1d1 Mon Sep 17 00:00:00 2001 From: bubnikv Date: Thu, 23 May 2019 15:43:16 +0200 Subject: [PATCH] Fixed update of the SLA back end object properties, leading to the "disable supports" and "disable pad" flags being ignored after the project was loaded. --- src/libslic3r/SLAPrint.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/libslic3r/SLAPrint.cpp b/src/libslic3r/SLAPrint.cpp index f0dfddda04..f6a1c429e5 100644 --- a/src/libslic3r/SLAPrint.cpp +++ b/src/libslic3r/SLAPrint.cpp @@ -425,7 +425,10 @@ SLAPrint::ApplyStatus SLAPrint::apply(const Model &model, const DynamicPrintConf print_object->set_trafo(sla_trafo(*this, model_object), model_object.instances.front()->is_left_handed()); print_object->set_instances(std::move(new_instances)); - print_object->config_apply(config, true); + + SLAPrintObjectConfig new_config = m_default_object_config; + normalize_and_apply_config(new_config, model_object.config); + print_object->config_apply(new_config, true); print_objects_new.emplace_back(print_object); new_objects = true; }