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:
authorEnrico Turri <enricoturri@seznam.cz>2018-07-25 10:19:20 +0300
committerEnrico Turri <enricoturri@seznam.cz>2018-07-25 10:19:20 +0300
commitdd724e9dab1c79b1e4d7e92940c4f33a28f18843 (patch)
treedc0142711884609ead73141e3010f0bb94a8ed19
parente0e6a238107b3614fde83d79a6e6056d0a378e2a (diff)
M73 lines emitted to gcode only for Marlin firmare. Fixes #1071
-rw-r--r--xs/src/libslic3r/GCode.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/xs/src/libslic3r/GCode.cpp b/xs/src/libslic3r/GCode.cpp
index 89a72a725..94634f4e4 100644
--- a/xs/src/libslic3r/GCode.cpp
+++ b/xs/src/libslic3r/GCode.cpp
@@ -377,10 +377,13 @@ void GCode::do_export(Print *print, const char *path, GCodePreviewData *preview_
}
fclose(file);
- m_normal_time_estimator.post_process_remaining_times(path_tmp, 60.0f);
+ if (print->config.gcode_flavor.value == gcfMarlin)
+ {
+ m_normal_time_estimator.post_process_remaining_times(path_tmp, 60.0f);
- if (m_silent_time_estimator_enabled)
- m_silent_time_estimator.post_process_remaining_times(path_tmp, 60.0f);
+ if (m_silent_time_estimator_enabled)
+ m_silent_time_estimator.post_process_remaining_times(path_tmp, 60.0f);
+ }
if (! this->m_placeholder_parser_failed_templates.empty()) {
// G-code export proceeded, but some of the PlaceholderParser substitutions failed.