mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 09:02:06 +00:00
FIX: 0-sized path cause wrong detection of gcode_check_result
0-sized extrusion path are now excluded from the heated bed range check to avoid false positive detection. jira: none Change-Id: Ia4bfff77880d107ce6b9542ef770050201ff0d90 (cherry picked from commit 00d9aedabed7e6b25767ddfe9871488f629c0dde)
This commit is contained in:
@@ -1736,6 +1736,7 @@ bool GCodeProcessor::check_multi_extruder_gcode_valid(const int
|
||||
Points iter_points;//temp points
|
||||
iter_points.insert(iter_points.end(), iter->second.pos.begin(), iter->second.pos.end());// put object/wipetower extrude position in
|
||||
Polygon path_poly(iter_points);
|
||||
if (path_poly.empty()) continue;
|
||||
BoundingBox bbox = path_poly.bounding_box();
|
||||
if (plate_printable_poly.is_valid()){
|
||||
if (!plate_printable_poly.bounding_box().contains(bbox)) {// out of the bed area
|
||||
|
||||
Reference in New Issue
Block a user