From 99dea01cc38157454894ad409b344ced93fd79bc Mon Sep 17 00:00:00 2001 From: Noisyfox Date: Mon, 22 Jun 2026 20:50:00 +0800 Subject: [PATCH] Fix coord out-of-range exception caused by `m_origin` memory not initialized to 0 --- src/libslic3r/Print.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libslic3r/Print.hpp b/src/libslic3r/Print.hpp index f186968846..a17acc5dfc 100644 --- a/src/libslic3r/Print.hpp +++ b/src/libslic3r/Print.hpp @@ -1175,7 +1175,7 @@ private: std::vector m_slice_used_filaments_first_layer; //BBS: plate's origin - Vec3d m_origin; + Vec3d m_origin {0, 0, 0}; //BBS: modified_count int m_modified_count {0}; //BBS