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:
authorAlessandro Ranellucci <aar@cpan.org>2014-12-22 18:47:35 +0300
committerAlessandro Ranellucci <aar@cpan.org>2014-12-22 18:47:35 +0300
commit64061267c84c98e6508bdb4b7e7ad4ef288c864d (patch)
tree5bd4a8a3cd555a1eaae4dde1a32cc3a9caeb3b3f /xs/src/libslic3r/Flow.cpp
parent93507bfd499eae228213eb3861e1380fede5115a (diff)
Align infill across layers regardless of first-layer-specific extrusion width. Includes a good internal API refactoring and a fix to 3D honeycomb flow
Diffstat (limited to 'xs/src/libslic3r/Flow.cpp')
-rw-r--r--xs/src/libslic3r/Flow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xs/src/libslic3r/Flow.cpp b/xs/src/libslic3r/Flow.cpp
index 7f87f146e..b9af18184 100644
--- a/xs/src/libslic3r/Flow.cpp
+++ b/xs/src/libslic3r/Flow.cpp
@@ -13,7 +13,7 @@ Flow::new_from_config_width(FlowRole role, const ConfigOptionFloatOrPercent &wid
float w;
if (bridge_flow_ratio > 0) {
// if bridge flow was requested, calculate bridge width
- w = Flow::_bridge_width(nozzle_diameter, bridge_flow_ratio);
+ height = w = Flow::_bridge_width(nozzle_diameter, bridge_flow_ratio);
} else if (!width.percent && width.value == 0) {
// if user left option to 0, calculate a sane default width
w = Flow::_auto_width(role, nozzle_diameter, height);