mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 14:13:57 -06:00
Follow-up 7eebd56b5f
- fixed a typo
+ added add_negative.svg for dark mode
This commit is contained in:
parent
7eebd56b5f
commit
4b5e568f14
4 changed files with 28 additions and 12 deletions
|
@ -725,7 +725,9 @@ void ModelObject::sort_volumes(bool full_sort)
|
|||
// sort have to controll "place" of the support blockers/enforcers. But one of the model parts have to be on the first place.
|
||||
else
|
||||
std::stable_sort(volumes.begin(), volumes.end(), [](ModelVolume* vl, ModelVolume* vr) {
|
||||
return vl->type() > ModelVolumeType::PARAMETER_MODIFIER && vl->type() < vr->type();
|
||||
ModelVolumeType vl_type = vl->type() > ModelVolumeType::PARAMETER_MODIFIER ? vl->type() : ModelVolumeType::PARAMETER_MODIFIER;
|
||||
ModelVolumeType vr_type = vr->type() > ModelVolumeType::PARAMETER_MODIFIER ? vr->type() : ModelVolumeType::PARAMETER_MODIFIER;
|
||||
return vl_type < vr_type;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue