Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2017-07-20 12:03:54 +0300
committerbubnikv <bubnikv@gmail.com>2017-07-20 12:03:54 +0300
commitaaefb768880c40c7230590240bf4b058427b1e27 (patch)
tree44f23be2a8a633a9d3e6f98fc5c5360a4c7ff5c0 /xs/src/libslic3r/Flow.cpp
parentac672d9dc592dc94ea1efdfeecdb75efc0a19233 (diff)
Fixed test cases after change of the "sane" extrusion widths.
Changed the default perimeter / infill overlap to 25%.
Diffstat (limited to 'xs/src/libslic3r/Flow.cpp')
-rw-r--r--xs/src/libslic3r/Flow.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/xs/src/libslic3r/Flow.cpp b/xs/src/libslic3r/Flow.cpp
index 0f3616ca5..1f787f50e 100644
--- a/xs/src/libslic3r/Flow.cpp
+++ b/xs/src/libslic3r/Flow.cpp
@@ -41,7 +41,6 @@ static inline float auto_extrusion_width(FlowRole role, float nozzle_diameter, f
return std::max(width, nozzle_diameter * 1.05f);
}
#else
-// 1.125f * nozzle_diameter;
switch (role) {
case frSupportMaterial:
case frSupportMaterialInterface:
@@ -52,7 +51,7 @@ static inline float auto_extrusion_width(FlowRole role, float nozzle_diameter, f
case frPerimeter:
case frSolidInfill:
case frInfill:
- 1.125f * nozzle_diameter;
+ return 1.125f * nozzle_diameter;
}
#endif
}