mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-01-01 04:10:56 -07: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:
parent
390bc3fb27
commit
885a078747
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue