mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-04 18:30:42 +08:00
Fixed arguments for Polygon::new_scale
This commit is contained in:
parent
b0d552ce4e
commit
a620e2ee13
@ -297,7 +297,7 @@ Polygon Polygon::new_scale(const Pointfs& p) {
|
||||
Points scaled_p;
|
||||
for (auto i : p) {
|
||||
// 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);
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user