mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-14 02:07:54 -06:00
Supports: Disabled debugging,fix of bottom surface over print.
This commit is contained in:
parent
14df0717ca
commit
e67e37c772
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
#define SLIC3R_DEBUG
|
// #define SLIC3R_DEBUG
|
||||||
|
|
||||||
// Make assert active if SLIC3R_DEBUG
|
// Make assert active if SLIC3R_DEBUG
|
||||||
#ifdef SLIC3R_DEBUG
|
#ifdef SLIC3R_DEBUG
|
||||||
|
@ -972,7 +972,7 @@ void PrintObjectSupportMaterial::generate_base_layers(
|
||||||
// Collect all the top_contact layer intersecting with this layer.
|
// Collect all the top_contact layer intersecting with this layer.
|
||||||
for (int i = idx_bottom_contact_overlapping; i >= 0; -- i) {
|
for (int i = idx_bottom_contact_overlapping; i >= 0; -- i) {
|
||||||
MyLayer &layer_bottom_overlapping = *bottom_contacts[idx_bottom_contact_overlapping];
|
MyLayer &layer_bottom_overlapping = *bottom_contacts[idx_bottom_contact_overlapping];
|
||||||
if (layer_bottom_overlapping.print_z < layer_intermediate.print_z - layer_intermediate.height - EPSILON)
|
if (layer_bottom_overlapping.print_z < layer_intermediate.print_z - layer_intermediate.height + EPSILON)
|
||||||
break;
|
break;
|
||||||
polygons_append(polygons_trimming, layer_bottom_overlapping.polygons);
|
polygons_append(polygons_trimming, layer_bottom_overlapping.polygons);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue