mirror of
https://github.com/QIDITECH/QIDISlicer.git
synced 2026-01-30 23:48:44 +03:00
@@ -2993,10 +2993,6 @@ Polylines FillGrid::fill_surface(const Surface *surface, const FillParams ¶m
|
|||||||
{ { 0.f, 0.f }, { float(M_PI / 2.), 0.f } },
|
{ { 0.f, 0.f }, { float(M_PI / 2.), 0.f } },
|
||||||
polylines_out))
|
polylines_out))
|
||||||
BOOST_LOG_TRIVIAL(error) << "FillGrid::fill_surface() failed to fill a region.";
|
BOOST_LOG_TRIVIAL(error) << "FillGrid::fill_surface() failed to fill a region.";
|
||||||
//w18 reverse fill path
|
|
||||||
if (this->layer_id % 2 == 1)
|
|
||||||
for (int i = 0; i < polylines_out.size(); i++)
|
|
||||||
std::reverse(polylines_out[i].begin(), polylines_out[i].end());
|
|
||||||
return polylines_out;
|
return polylines_out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user