mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
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)
This commit is contained in:
@@ -344,7 +344,8 @@ 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 == btPainted && !this->model_object()->brim_points.empty()))
|
||||
&& ! this->has_raft();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user