mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-14 06:05:53 +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
|
SurfaceCollection::filter_by_type(std::initializer_list<SurfaceType> types) const
|
||||||
{
|
{
|
||||||
SurfacesConstPtr ss;
|
SurfacesConstPtr ss;
|
||||||
for (Surface& s : this->surfaces)
|
for (const Surface& s : this->surfaces)
|
||||||
for (const SurfaceType& t : types)
|
for (const SurfaceType& t : types)
|
||||||
if (s.surface_type == t) {
|
if (s.surface_type == t) {
|
||||||
ss.push_back(&s);
|
ss.push_back(&s);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user