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
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2018-07-18 13:04:56 +0300
committerbubnikv <bubnikv@gmail.com>2018-07-18 13:04:56 +0300
commit17df029c9d2223dd715eaf50ee77ec2c501df7f1 (patch)
tree98ef680159fbe950e12046a3fba89d7f237a31d1
parentb6fe90cbdc63752ef2d17235f530ed60ace1bc86 (diff)
Fixed a previous commit.
-rw-r--r--xs/src/libslic3r/GCodeWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xs/src/libslic3r/GCodeWriter.cpp b/xs/src/libslic3r/GCodeWriter.cpp
index 1041f602c..34e6b7ec3 100644
--- a/xs/src/libslic3r/GCodeWriter.cpp
+++ b/xs/src/libslic3r/GCodeWriter.cpp
@@ -20,7 +20,7 @@ void GCodeWriter::apply_print_config(const PrintConfig &print_config)
m_extrusion_axis = this->config.get_extrusion_axis();
m_single_extruder_multi_material = print_config.single_extruder_multi_material.value;
m_max_acceleration = (print_config.gcode_flavor.value == gcfMarlin) ?
- print_config.machine_max_acceleration_extruding.value : 0;
+ print_config.machine_max_acceleration_extruding.values.front() : 0;
}
void GCodeWriter::set_extruders(const std::vector<unsigned int> &extruder_ids)