mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-14 09:55:57 +08:00
up version to 47.1
fix macos/linux build
This commit is contained in:
parent
eecf28c00c
commit
2a433a6715
@ -2349,7 +2349,6 @@ end:
|
||||
}
|
||||
|
||||
ExPolygons PrintObject::_offset_holes(double hole_delta, const ExPolygons &polys) const{
|
||||
if (hole_delta != 0.f) {
|
||||
ExPolygons new_polys;
|
||||
for (const ExPolygon &ex_poly : polys) {
|
||||
ExPolygon new_ex_poly(ex_poly);
|
||||
@ -2384,7 +2383,6 @@ ExPolygons PrintObject::_offset_holes(double hole_delta, const ExPolygons &polys
|
||||
}
|
||||
return new_polys;
|
||||
}
|
||||
}
|
||||
|
||||
/// max angle: you ahve to be lwer than that to divide it. PI => all accepted
|
||||
/// min angle: don't smooth sharp angles! 0 => all accepted
|
||||
@ -2470,8 +2468,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);
|
||||
@ -2493,7 +2489,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) const
|
||||
|
@ -5,5 +5,5 @@ set(SLIC3R_APP_NAME "Slic3r++")
|
||||
set(SLIC3R_APP_KEY "Slic3r++")
|
||||
set(SLIC3R_VERSION "2.2.47")
|
||||
set(SLIC3R_BUILD_ID "slic3r++_${SLIC3R_VERSION}+UNKNOWN")
|
||||
set(SLIC3R_RC_VERSION "2,2,47,0")
|
||||
set(SLIC3R_RC_VERSION_DOTS "2.2.47.0")
|
||||
set(SLIC3R_RC_VERSION "2,2,47,1")
|
||||
set(SLIC3R_RC_VERSION_DOTS "2.2.47.1")
|
||||
|
Loading…
x
Reference in New Issue
Block a user