From abb8e6ed1180297a65aecb5e8ecc743ced52016c Mon Sep 17 00:00:00 2001 From: Mack Date: Fri, 29 Nov 2024 21:40:18 +0800 Subject: [PATCH] FIX:No brim ears generated if brim width is set to 0 GITHUB: #5431 Change-Id: Ia5911b1e24f09e385a66c3a0cdb3fe83fb090f57 (cherry picked from commit 1f419489f76209e47babe6b378c436178fcb3264) --- src/libslic3r/Print.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/libslic3r/Print.hpp b/src/libslic3r/Print.hpp index 0d2651cef..a28a8aa13 100644 --- a/src/libslic3r/Print.hpp +++ b/src/libslic3r/Print.hpp @@ -347,7 +347,9 @@ 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 == btBrimEars) && ! this->has_raft(); }