mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-05 13:30:43 +08:00
Fixing function get_parts_to_slice not returning what is expected
This method is not used currently, but the fix is still appropriate
This commit is contained in:
parent
d389b69f3b
commit
6aa5747408
@ -1104,7 +1104,7 @@ SLAPrintObject::get_parts_to_slice(SLAPrintObjectStep untilstep) const
|
||||
|
||||
std::vector<csg::CSGPart> ret;
|
||||
|
||||
for (unsigned int step = 0; step < s; ++step) {
|
||||
for (unsigned int step = 0; step <= s; ++step) {
|
||||
auto r = m_mesh_to_slice.equal_range(SLAPrintObjectStep(step));
|
||||
csg::copy_csgrange_shallow(Range{r.first, r.second}, std::back_inserter(ret));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user