mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
Fix of SPE-607
This commit is contained in:
parent
9463351abd
commit
2c63af5dd9
2 changed files with 5 additions and 3 deletions
|
@ -107,7 +107,7 @@ public:
|
|||
// adds region_id, too, if necessary
|
||||
void add_region_volume(unsigned int region_id, int volume_id) {
|
||||
if (region_id >= region_volumes.size())
|
||||
region_volumes.assign(region_id + 1, std::vector<int>());
|
||||
region_volumes.resize(region_id + 1);
|
||||
region_volumes[region_id].emplace_back(volume_id);
|
||||
}
|
||||
// This is the *total* layer count (including support layers)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue