Fixed arguments for Polygon::new_scale

This commit is contained in:
Joseph Lenox 2018-05-05 17:35:53 -05:00 committed by Joseph Lenox
parent 2a41f8afd1
commit 58f84f21e6

View File

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