From b5f443c64c5865ec21385a9a6dde370969648179 Mon Sep 17 00:00:00 2001 From: Noisyfox Date: Thu, 6 Mar 2025 20:28:54 +0800 Subject: [PATCH] Fix issue that painted brim is not generated if brim width is set to 0 (#8700) * Fix issue that painted brim is not generated if brim width is set to 0 (SoftFever/OrcaSlicer#8687) --- src/libslic3r/Print.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libslic3r/Print.hpp b/src/libslic3r/Print.hpp index 783987a021..459f390572 100644 --- a/src/libslic3r/Print.hpp +++ b/src/libslic3r/Print.hpp @@ -344,7 +344,8 @@ public: std::vector& firstLayerObjGroupsMod() { return firstLayerObjSliceByGroups; } bool has_brim() const { - return ((this->config().brim_type != btNoBrim && this->config().brim_width.value > 0.) || this->config().brim_type == btAutoBrim) + return ((this->config().brim_type != btNoBrim && this->config().brim_width.value > 0.) || this->config().brim_type == btAutoBrim + || (this->config().brim_type == btPainted && !this->model_object()->brim_points.empty())) && ! this->has_raft(); }