mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-16 11:05:55 +08:00
fix curve_smoothing return value.
This commit is contained in:
parent
a6b055b484
commit
a6c011fbef
@ -2537,8 +2537,6 @@ Polygon _smooth_curve(Polygon &p, double max_angle, double min_angle_convex, dou
|
||||
}
|
||||
|
||||
ExPolygons PrintObject::_smooth_curves(const ExPolygons & input, const PrintRegionConfig &conf) const {
|
||||
|
||||
if (conf.curve_smoothing_precision.value > 0.f) {
|
||||
ExPolygons new_polys;
|
||||
for (const ExPolygon &ex_poly : input) {
|
||||
ExPolygon new_ex_poly(ex_poly);
|
||||
@ -2562,7 +2560,6 @@ ExPolygons PrintObject::_smooth_curves(const ExPolygons & input, const PrintRegi
|
||||
}
|
||||
return new_polys;
|
||||
}
|
||||
}
|
||||
|
||||
// To be used only if there are no layer span specific configurations applied, which would lead to z ranges being generated for this region.
|
||||
std::vector<ExPolygons> PrintObject::slice_region(size_t region_id, const std::vector<float> &z, SlicingMode mode) const
|
||||
|
Loading…
x
Reference in New Issue
Block a user