Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/cad/PrusaSlicer/files/patch-src_libslic3r_SupportSpotsGenerator.cpp
16461 views
1
--- src/libslic3r/SupportSpotsGenerator.cpp.orig 2025-04-10 11:26:51 UTC
2
+++ src/libslic3r/SupportSpotsGenerator.cpp
3
@@ -1063,7 +1063,7 @@ SliceMappings update_active_object_parts(const Layer
4
}
5
}
6
const float bottom_z = layer->bottom_z();
7
- auto estimate_conn_strength = [bottom_z](const SliceConnection &conn) {
8
+ auto estimate_conn_strength = [bottom_z](const SliceConnection &conn) -> float {
9
if (conn.area < EPSILON) { // connection is empty, does not exists. Return max strength so that it is not picked as the
10
// weakest connection.
11
return INFINITY;
12
13