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:
Diffstat (limited to 'src/slic3r/GUI/BackgroundSlicingProcess.cpp')
-rw-r--r--src/slic3r/GUI/BackgroundSlicingProcess.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/slic3r/GUI/BackgroundSlicingProcess.cpp b/src/slic3r/GUI/BackgroundSlicingProcess.cpp
index 8f430c4ee..14c1db6cd 100644
--- a/src/slic3r/GUI/BackgroundSlicingProcess.cpp
+++ b/src/slic3r/GUI/BackgroundSlicingProcess.cpp
@@ -731,7 +731,9 @@ void BackgroundSlicingProcess::finalize_gcode()
// collide with the G-code viewer memory mapping of the unprocessed G-code. G-code viewer maps unprocessed G-code, because m_gcode_result
// is calculated for the unprocessed G-code and it references lines in the memory mapped G-code file by line numbers.
// export_path may be changed by the post-processing script as well if the post processing script decides so, see GH #6042.
- bool post_processed = run_post_process_scripts(output_path, true, "File", export_path, m_fff_print->full_print_config());
+ DynamicPrintConfig conf_for_script = m_fff_print->full_print_config();
+ conf_for_script.apply(m_fff_print->physical_printer_config()); // add physical printer options for use in the script.
+ bool post_processed = run_post_process_scripts(output_path, true, "File", export_path, conf_for_script);
auto remove_post_processed_temp_file = [post_processed, &output_path]() {
if (post_processed)
try {