From 02cbe410574510d5556cca24c901fb858a66fded Mon Sep 17 00:00:00 2001 From: Remco Burema Date: Thu, 30 Jun 2022 18:04:58 +0200 Subject: [PATCH] Raft-extruder isn't nescesarily the adhesion extruder anymore. --- src/sliceDataStorage.h | 2 +- src/support.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sliceDataStorage.h b/src/sliceDataStorage.h index f3a811329a..b131f38e57 100644 --- a/src/sliceDataStorage.h +++ b/src/sliceDataStorage.h @@ -1,4 +1,4 @@ -//Copyright (c) 2021 Ultimaker B.V. +//Copyright (c) 2022 Ultimaker B.V. //CuraEngine is released under the terms of the AGPLv3 or higher. #ifndef SLICE_DATA_STORAGE_H diff --git a/src/support.cpp b/src/support.cpp index 4f088e4f4c..2598471296 100644 --- a/src/support.cpp +++ b/src/support.cpp @@ -500,8 +500,8 @@ Polygons AreaSupport::join(const SliceDataStorage& storage, const Polygons& supp break; case EPlatformAdhesion::RAFT: { - const ExtruderTrain& raft_extruder = mesh_group_settings.get("adhesion_extruder_nr"); - adhesion_size = raft_extruder.settings.get("raft_margin"); + const ExtruderTrain& raft_base_extruder = mesh_group_settings.get("raft_base_extruder_nr"); + adhesion_size = raft_base_extruder.settings.get("raft_margin"); break; } case EPlatformAdhesion::SKIRT: