mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-22 18:19:45 -07:00
Pass config options as environment variables to post-processing scripts
This commit is contained in:
@@ -311,6 +311,7 @@ sub export_gcode {
|
||||
# run post-processing scripts
|
||||
if (@$Slic3r::post_process) {
|
||||
$status_cb->(95, "Running post-processing scripts");
|
||||
Slic3r::Config->setenv;
|
||||
for (@$Slic3r::post_process) {
|
||||
Slic3r::debugf " '%s' '%s'\n", $_, $output_file;
|
||||
system($_, $output_file);
|
||||
|
||||
Reference in New Issue
Block a user