From c48aca1704d1c9c770ef23ffe5af56d45f1e3921 Mon Sep 17 00:00:00 2001 From: SoftFever Date: Wed, 19 Apr 2023 19:49:21 +0800 Subject: [PATCH] tweak gridlines (cherry picked from commit f037c3406cdcb3c42900bb205c4df6fb82298dab) --- src/slic3r/GUI/PartPlate.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/slic3r/GUI/PartPlate.cpp b/src/slic3r/GUI/PartPlate.cpp index d7a4bfeda5..b794a0915d 100644 --- a/src/slic3r/GUI/PartPlate.cpp +++ b/src/slic3r/GUI/PartPlate.cpp @@ -376,10 +376,10 @@ void PartPlate::calc_gridlines(const ExPolygon& poly, const BoundingBox& pp_bbox Lines contour_lines = to_lines(poly); std::copy(contour_lines.begin(), contour_lines.end(), std::back_inserter(gridlines)); - if (!m_gridlines.set_from_lines(gridlines, GROUND_Z)) + if (!m_gridlines.set_from_lines(gridlines, -0.06f)) BOOST_LOG_TRIVIAL(error) << __FUNCTION__ << "Unable to create bed grid lines\n"; - if (!m_gridlines_bolder.set_from_lines(gridlines_bolder, GROUND_Z)) + if (!m_gridlines_bolder.set_from_lines(gridlines_bolder, -0.06f)) BOOST_LOG_TRIVIAL(error) << __FUNCTION__ << "Unable to create bed grid lines\n"; }