From b7e020c8bf09b59c63d2bfdd023bd75926c119a5 Mon Sep 17 00:00:00 2001 From: pi-squared-studio Date: Tue, 9 Dec 2025 10:22:44 +0300 Subject: [PATCH] fix --- src/slic3r/GUI/Plater.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index 49114d8092..e287a96302 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -231,7 +231,7 @@ Emboss::FontFileWithCache calib_font_with_cache(std::move(WxFontUtils::create_fo /// "y" is the font height in millimeters. /// "z" is the height of the extruded text in millimeters. /// Position of model against text pivot. -static TriangleMesh get_ortho_box_mesh(Vec3d& size, Vec3f& position = Vec3f()) +static TriangleMesh get_ortho_box_mesh(Vec3d size, Vec3f position = Vec3f()) { TriangleMesh mesh(make_cube(size.x(), size.y(), size.z())); // get box mesh.translate(position); // move mesh to indeed place