From 81ae29d82f2cb9522fb90f5bab960da26e6486c2 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Tue, 25 Mar 2025 17:09:49 +0100 Subject: [PATCH] FIX: Fix missing offset() helper declaration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit /run/build/BambuStudio/src/libslic3r/GCode/WipeTower.cpp:3327:26: error: ‘offset’ was not declared in this scope; did you mean ‘off_t’? 3327 | outer_wall = offset(outer_wall, scaled(spacing)).front(); | ^~~~~~ | off_t (cherry picked from commit c77afa7096c48c2b3e2559b39252bafca3f87b28) --- src/libslic3r/GCode/WipeTower.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libslic3r/GCode/WipeTower.cpp b/src/libslic3r/GCode/WipeTower.cpp index 34a50440d6..9f3a091e32 100644 --- a/src/libslic3r/GCode/WipeTower.cpp +++ b/src/libslic3r/GCode/WipeTower.cpp @@ -9,6 +9,7 @@ #include "GCodeProcessor.hpp" #include "BoundingBox.hpp" +#include "ClipperUtils.hpp" #include "LocalesUtils.hpp" #include "Triangulation.hpp"