mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-20 13:17:54 -06:00
FDM backend refactoring for const correctness, clarity ...
This commit is contained in:
parent
b5573f959b
commit
dd72016159
5 changed files with 57 additions and 63 deletions
|
@ -27,7 +27,7 @@ bool Layer::empty() const
|
|||
return true;
|
||||
}
|
||||
|
||||
LayerRegion* Layer::add_region(PrintRegion* print_region)
|
||||
LayerRegion* Layer::add_region(const PrintRegion *print_region)
|
||||
{
|
||||
m_regions.emplace_back(new LayerRegion(this, print_region));
|
||||
return m_regions.back();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue