mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-29 01:02:02 +08:00
Bug Fix
This commit is contained in:
parent
ee91e1af31
commit
d26f0358fe
@ -47,7 +47,7 @@ std::vector<Slic3r::Vec2f> SampleIslandUtils::sample_expolygon(
|
|||||||
std::vector<Vec2f> result;
|
std::vector<Vec2f> result;
|
||||||
result.reserve(points.size());
|
result.reserve(points.size());
|
||||||
std::transform(points.begin(), points.end(), std::back_inserter(result),
|
std::transform(points.begin(), points.end(), std::back_inserter(result),
|
||||||
[](const Point &p) { return unscale(p).cast<float>(); });
|
[](const Point &p)->Vec2f { return unscale(p).cast<float>(); });
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user