FIX:No brim ears generated if brim width is set to 0
GITHUB: #5431 Change-Id: Ia5911b1e24f09e385a66c3a0cdb3fe83fb090f57 (cherry picked from commit 1f419489f76209e47babe6b378c436178fcb3264)
This commit is contained in:
parent
05c4e9d183
commit
abb8e6ed11
|
@ -347,7 +347,9 @@ public:
|
|||
std::vector<groupedVolumeSlices>& 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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue