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

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/xs
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2016-10-17 10:27:20 +0300
committerbubnikv <bubnikv@gmail.com>2016-10-17 10:27:20 +0300
commit30c1be40dabf3b395f03cf99cd34fee5d5c77857 (patch)
tree860069b9ea2fdbbdcce3d0a25958f2db1faff5e6 /xs
parente8f73134e6567ed2c733167b32b5544768a9de51 (diff)
Fixes of SupportMaterial.cpp
Diffstat (limited to 'xs')
-rw-r--r--xs/src/libslic3r/SupportMaterial.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/xs/src/libslic3r/SupportMaterial.cpp b/xs/src/libslic3r/SupportMaterial.cpp
index 5d4d0f34c..c7266fa37 100644
--- a/xs/src/libslic3r/SupportMaterial.cpp
+++ b/xs/src/libslic3r/SupportMaterial.cpp
@@ -8,6 +8,7 @@
#include <cmath>
#include <cassert>
+#include <memory>
namespace Slic3r {
@@ -508,7 +509,7 @@ PrintSupportMaterial::MyLayersPtr PrintSupportMaterial::bottom_contact_layers(
// Place a bridge flow interface layer over the top surface.
m_interface_flow.nozzle_diameter;
layer_new.print_z = layer.print_z + layer_new.height +
- (m_soluble_interface ? 0 : m_object_config->support_material_contact_distance);
+ (m_soluble_interface ? 0. : m_object_config->support_material_contact_distance.value);
layer_new.bottom_z = layer.print_z;
layer_new.idx_object_layer_below = layer_id;
layer_new.bridging = ! m_soluble_interface;