mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
WIP: Refactoring of PrintRegions. It nearly compiles!
This commit is contained in:
parent
68b0d92183
commit
740773db85
8 changed files with 479 additions and 1206 deletions
|
@ -827,7 +827,7 @@ inline void model_volumes_sort_by_id(ModelVolumePtrs &model_volumes)
|
|||
inline const ModelVolume* model_volume_find_by_id(const ModelVolumePtrs &model_volumes, const ObjectID id)
|
||||
{
|
||||
auto it = lower_bound_by_predicate(model_volumes.begin(), model_volumes.end(), [id](const ModelVolume *mv) { return mv->id() < id; });
|
||||
return it != model_volume.end() && (*it)->id() == id ? *it : nullptr;
|
||||
return it != model_volumes.end() && (*it)->id() == id ? *it : nullptr;
|
||||
}
|
||||
|
||||
enum ModelInstanceEPrintVolumeState : unsigned char
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue