1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-11 08:04:25 +00:00

#4808 - Fixed incorrect detection of toolpaths outside of printbed

This commit is contained in:
enricoturri1966
2020-09-30 10:58:14 +02:00
parent 980fe77b32
commit e55a9cceec
-3
View File
@@ -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());