mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 22:55:57 +08:00
Two minor fixes
This commit is contained in:
parent
540d632bbb
commit
3a3b24ec7c
@ -86,7 +86,7 @@ LayerRegion::process_external_surfaces(const Layer* lower_layer)
|
||||
BridgeDetector bd(
|
||||
surface->expolygon,
|
||||
lower_layer->slices,
|
||||
this->flow(frInfill, this->layer()->height, true).scaled_width()
|
||||
this->flow(frInfill, true).scaled_width()
|
||||
);
|
||||
|
||||
#ifdef SLIC3R_DEBUG
|
||||
|
@ -5,6 +5,7 @@
|
||||
#include "Geometry.hpp"
|
||||
#include "Surface.hpp"
|
||||
#include <iostream>
|
||||
#include <complex>
|
||||
#include <cstdio>
|
||||
|
||||
namespace Slic3r {
|
||||
@ -161,7 +162,7 @@ SLAPrint::_infill_layer(size_t i, const Fill* _fill)
|
||||
Polygons internal = layer.slices;
|
||||
for (size_t j = 0; j < this->layers.size(); ++j) {
|
||||
const Layer &other = this->layers[j];
|
||||
if (abs(other.print_z - layer.print_z) > shell_thickness) continue;
|
||||
if (std::abs(other.print_z - layer.print_z) > shell_thickness) continue;
|
||||
|
||||
if (j == 0 || j == this->layers.size()-1) {
|
||||
internal.clear();
|
||||
|
Loading…
x
Reference in New Issue
Block a user