mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-10-05 05:56:33 +08:00
Fixed arguments for Polygon::new_scale
This commit is contained in:
parent
2a41f8afd1
commit
58f84f21e6
@ -297,7 +297,7 @@ Polygon Polygon::new_scale(const Pointfs& p) {
|
|||||||
Points scaled_p;
|
Points scaled_p;
|
||||||
for (auto i : p) {
|
for (auto i : p) {
|
||||||
// scale each individual point and append to a new array
|
// scale each individual point and append to a new array
|
||||||
scaled_p.push_back(scale_(i.x), scale_(i.y));
|
scaled_p.push_back(Slic3r::Point(scale_(i.x), scale_(i.y)));
|
||||||
}
|
}
|
||||||
return Slic3r::Polygon(scaled_p);
|
return Slic3r::Polygon(scaled_p);
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user