Fixed arguments for Polygon::new_scale

This commit is contained in:
Joseph Lenox 2018-05-05 17:35:53 -05:00
parent b0d552ce4e
commit a620e2ee13

View File

@ -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);
}; };