From aed7206f1337335a9042ec5221a0c71fbd45eec6 Mon Sep 17 00:00:00 2001 From: viewit Date: Tue, 2 Jun 2026 19:21:59 +0200 Subject: [PATCH] fix(preset): type Feld statt type() Methode in Preset::save() --- src/libslic3r/Preset.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libslic3r/Preset.cpp b/src/libslic3r/Preset.cpp index 60ead0f814f..74b3c65f02f 100644 --- a/src/libslic3r/Preset.cpp +++ b/src/libslic3r/Preset.cpp @@ -643,7 +643,7 @@ void Preset::save(DynamicPrintConfig* parent_config) // Inherited presets (e.g. "My PLA" inheriting "Generic PLA @System") previously had // no filament_id which caused AMS sync to fall back to the parent's Generic ID. if (this->is_user() && this->filament_id.empty() && !this->name.empty() && - this->type() == Preset::TYPE_FILAMENT) { + this->type == Preset::TYPE_FILAMENT) { boost::uuids::detail::md5 hash; boost::uuids::detail::md5::digest_type digest; hash.process_bytes(this->name.data(), this->name.size());