From 3721bf802a6d449a21c7f7bc630faeabfe53e28a Mon Sep 17 00:00:00 2001 From: Erwan MATHIEU Date: Wed, 24 Jan 2024 09:54:35 +0100 Subject: [PATCH] Fix Scripta integration --- src/slicer.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/slicer.cpp b/src/slicer.cpp index 22040b1480..b608bef85d 100644 --- a/src/slicer.cpp +++ b/src/slicer.cpp @@ -12,6 +12,7 @@ #include "Application.h" #include "Slice.h" +#include "raft.h" #include "plugins/slots.h" #include "settings/AdaptiveLayerHeights.h" #include "settings/EnumSettings.h" @@ -824,7 +825,8 @@ Slicer::Slicer(Mesh* i_mesh, const coord_t thickness, const size_t slice_layer_c mesh->settings_.get("raft_interface_thickness"), mesh->settings_.get("raft_base_thickness"), mesh->settings_.get("raft_airgap"), - mesh->settings_.get("layer_0_z_overlap")); + mesh->settings_.get("layer_0_z_overlap"), + Raft::getFillerLayerCount()); std::vector> zbbox = buildZHeightsForFaces(*mesh);