mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-12 23:08:59 +08:00
bugfix
This commit is contained in:
parent
7fa4d16b50
commit
b9116f4d5d
@ -107,7 +107,7 @@ SurfacesConstPtr
|
||||
SurfaceCollection::filter_by_type(std::initializer_list<SurfaceType> types) const
|
||||
{
|
||||
SurfacesConstPtr ss;
|
||||
for (Surface& s : this->surfaces)
|
||||
for (const Surface& s : this->surfaces)
|
||||
for (const SurfaceType& t : types)
|
||||
if (s.surface_type == t) {
|
||||
ss.push_back(&s);
|
||||
|
Loading…
x
Reference in New Issue
Block a user