mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-05 15:30:40 +08: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:
parent
fbfbb0932f
commit
b5f443c64c
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user