From e55a9cceecda11eefa9c898324470e0230c73d7f Mon Sep 17 00:00:00 2001 From: enricoturri1966 Date: Wed, 30 Sep 2020 10:58:14 +0200 Subject: [PATCH] #4808 - Fixed incorrect detection of toolpaths outside of printbed --- src/slic3r/GUI/GCodeViewer.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/slic3r/GUI/GCodeViewer.cpp b/src/slic3r/GUI/GCodeViewer.cpp index 6bb62dbf0..4a5880218 100644 --- a/src/slic3r/GUI/GCodeViewer.cpp +++ b/src/slic3r/GUI/GCodeViewer.cpp @@ -872,9 +872,6 @@ void GCodeViewer::load_toolpaths(const GCodeProcessor::Result& gcode_result) } } - // add origin - m_paths_bounding_box.merge(Vec3d::Zero()); - // max bounding box (account for tool marker) m_max_bounding_box = m_paths_bounding_box; m_max_bounding_box.merge(m_paths_bounding_box.max + m_sequential_view.marker.get_bounding_box().size()[2] * Vec3d::UnitZ());